Is there any way to prefer local classes instead of library classes with same package?

How to tell compiler choose the src/foo/Bar.hx in my source code directory rather than -lib foo library one, is there existence option to perform?

Because library source code is out of repository.

You could try and move the -cp src after the -lib foo, could help.

1 Like

This did the trick!
I have tried once without works, because changing ordering as you said didn’t trigger cache recompiling.
Change ordering, purge cache, and it works.Thanks.