I was wrong, if I don't expand a path, I get errors, as:
src/test.erl:5: syntax error before: ','

But error on compilation will coming after all errors. Is it ok?
If, then I will make it so.

src/test.erl:5: syntax error before: ','
== Compilation error on file src/test.erl ==