Hi, while trying around (haxe 4.1.4) i get sometimes this error:
SolverImpl.hx:662: characters 57-65 : { m_type : jasper.SymbolType } should be jasper.Symbol
With haxe 3.4.4 it builds without error, so its maybe with the key-value-iterator since 4 ?
here is little snippet here where it appears: Main.txt
package;
importjasper.Solver;
importjasper.Strength;
importjasper.Variable;
classMain {
staticfunctionmain() {}
}
classTest {
privatevarsolver:Solver=newSolver();
privatevar_x:Variable=newVariable();
publicvarx(get,set):Float;
// getterfunctionget_x():Floatreturn_x.m_value;
// setterfunctionset_x(value:Float):Float {
// in haxe 4.1.4 build-error in SolverImpl.hx:662 (667, 480, 637, 686):// "{ m_type : jasper.SymbolType } should be jasper.Symbol"solver.suggestValue(_x, value);
returnvalue;
}
publicfunctionnew() {
solver.addEditVariable(_x, Strength.MEDIUM);
}
}Get this also into some other cases e.g. if i move the addEventListener()
some lines up before the layout is initialized here:
https://github.com/maitag/peote-layout/blob/main/samples/openfl-sprites/Source/Main.hx#L68
Hi, while trying around (haxe 4.1.4) i get sometimes this error:
SolverImpl.hx:662: characters 57-65 : { m_type : jasper.SymbolType } should be jasper.SymbolWith haxe 3.4.4 it builds without error, so its maybe with the key-value-iterator since 4 ?
here is little snippet here where it appears: Main.txt
Get this also into some other cases e.g. if i move the addEventListener()
some lines up before the layout is initialized here:
https://github.com/maitag/peote-layout/blob/main/samples/openfl-sprites/Source/Main.hx#L68