/usr/lib/haxe/lib/nme/3,4,0/jeash/display/DisplayObjectContainer.hx:163: characters 2-4 : Unexpected if
Bug #1028584 reported by
raoul duke
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
jeash |
New
|
Undecided
|
Unassigned |
Bug Description
looks like the for should have an opening curly bracket? just guessing.
i actually tried it locally and then it complains that it doesn't know what i is.
i suspect this code path in jeash was never used with #debug turned on?
#if debug
for (child in jeashChildren)
if (child == object) {
}
}
#end
if (stage != null) object.
To post a comment you must log in.
I also encountered this immediately after installation when trying to build the NyanCat example for HTML5. I was able to get past this particular issue with the following code. I *think* this is how it should be but I had other issues with the NyanCat example and HTML5, and I'm new to Haxe and NME, so take it with a grain of salt. :-)
#if debug
if (child == object) {
var i = Lambda. indexOf( jeashChildren, child);
throw "Internal error: child already existed at index " + i;
}
#end
for (child in jeashChildren) {
}