dodrugs icon indicating copy to clipboard operation
dodrugs copied to clipboard

problem with cache compiler

Open francescoagati opened this issue 8 years ago • 2 comments

with the cache compiler at the next recompiles i get an injector named "test" was previously created here duplicate Injector name used

francescoagati avatar Dec 05 '17 09:12 francescoagati

Oh good pickup, thank you.

I have some code in there to try handle this but it's obviously not working yet. Will try investigate soon.

jasononeil avatar Dec 06 '17 05:12 jasononeil

the problem is this line that block the compilation. https://github.com/jasononeil/dodrugs/blob/cfff2d40675d877410972bffd9d326d401d5fb62/src/dodrugs/InjectorMacro.hx#L328 i think a simple warning is good. or otherwise a define parameter in hxml for enable the context.error

francescoagati avatar Dec 06 '17 08:12 francescoagati