You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to set up a boilerplate file using HexInject, I find that trying to declare an injector container just produces a "duplicate access modifier public" error:
import hex.di.IInjectorContainer;
class MockClass implements IInjectorContainer {}
class ServerMain {
static public function main() {
}
}
--->
$ haxe -cpp .obj/server-temp -debug -lib hexinject -main ServerMain
/usr/share/haxe/std/haxe/macro/Expr.hx:818: characters 2-10 : Duplicate access modifier public
ServerMain.hx:5: lines 5-9 : Defined in this class
/usr/share/haxe/std/haxe/macro/Expr.hx:818: characters 2-10 : Previously defined here
ServerMain.hx:5: lines 5-9 : Defined in this class
$ haxe --version
4.0.5
Is there anything obvious I'm doing wrong here?
The text was updated successfully, but these errors were encountered:
Trying to set up a boilerplate file using HexInject, I find that trying to declare an injector container just produces a "duplicate access modifier public" error:
--->
Is there anything obvious I'm doing wrong here?
The text was updated successfully, but these errors were encountered: