DoclerLabs / hexMachina

Releases, issues, documentation, website of hexMachina, framework written in Haxe
http://hexmachina.org
MIT License
44 stars 8 forks source link

Cannot run tests of hexCommand #306

Open CrazyFlasher opened 5 years ago

CrazyFlasher commented 5 years ago

Hi. I am using haxe-4.0.0-rc5 First of all I modified tests.hxml

-main MainCommandTest

-lib hexunit:1.0.0-alpha.7
-lib hexcommand:1.0.0-alpha.7

-cp test
-D debug=true

When running command haxe build-js.hxml I get following error:

c:\HaxeToolkit\haxe\lib\hexcore/1,0,0-alpha,7/src/hex/structures/PointF.hx:111: lines 111-115 : assigns: Assignment overloading is not supported
c:\HaxeToolkit\haxe\lib\hexcore/1,0,0-alpha,7/src/hex/structures/Point.hx:111: lines 111-115 : assigns: Assignment overloading is not supported
test/hex/control/trigger/mock/MockAnnotationReplaceController.hx:26: characters 8-61 : Warning : "hex.control.trigger.MockCommandClassWithoutParameters" is not a constant value and won't be replaced
test/hex/control/trigger/mock/MockAnnotationReplaceController.hx:29: characters 8-41 : Warning : "MockAnnotationReplaceController.MockCommandClassWithoutParameters" is not a constant value and won't be replaced
c:\HaxeToolkit\haxe\lib\hexannotation/1,0,0-alpha,7/src/hex/di/annotation/FastInjectionBuilder.hx:23: characters 43-70 : Type not found : PrivateConstructorException
aliokan commented 5 years ago

Hello,

PrivateConstructorException path was changed between 1.0.0-alpha.7 and 1.0.0-alpha.8 I guess that you are compiling hexCore 1.0.0-alpha.8 with hexcommand 1.0.0-alpha.7

error refactoring on hexCore: https://github.com/DoclerLabs/hexCore/commit/be577bd3c34de6ca8b66696e2ed67f34c51513e0 Fix on hexCommand: https://github.com/DoclerLabs/hexCommand/commit/6371d4801e8496036bada3c95df31c1e0631b832