We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d636dc0 commit d26e4b3Copy full SHA for d26e4b3
lib/iex/lib/iex/helpers.ex
@@ -264,7 +264,6 @@ defmodule IEx.Helpers do
264
"""
265
def l(module) do
266
:code.purge(module)
267
- # FIXME: shouldn't we use Code.load_file here?
268
:code.load_file(module)
269
end
270
lib/iex/test/iex/helpers_test.exs
@@ -239,7 +239,7 @@ defmodule IEx.HelpersTest do
239
assert Sample.run == :run
240
241
File.write! filename, "defmodule Sample do end"
242
- # FIXME: is there another way to compile a file without loading its module?
+ # FIXME: this could probably be improved
243
System.cmd "../../bin/elixirc sample.ex"
244
245
assert l(Sample) == {:module, Sample}
0 commit comments