rustyio / sync

On-the-fly recompiling and reloading in Erlang. Code without friction.
MIT License
748 stars 163 forks source link

Avoid XRef messages saying 'undefined function' #61

Closed GabrielKast closed 8 years ago

GabrielKast commented 9 years ago

When I use sync in my project I have an xref error: src/sync_scanner.erl:444: Warning elixir_compile/2 calls undefined function Elixir.Kernel.ParallelCompiler:files_to_path/2 src/sync_scanner.erl:432: Warning erlydtl_compile/2 calls undefined function erlydtl:compile/3

To avoid that message, just trick the xref compiler :)

choptastic commented 8 years ago

Thanks! Merged. Nice little trick.