hxAnonCls)
, that broken somewhere after 3.1.3, the problem is in this line:(untyped v.meta:Metadata).exists(function(m) return m.name == ":unbound")
E:\haxe\haxe\std/Lambda.hx:142: characters 12-14 : Invalid call
hxAnonCls/Macros.hx:334: characters 9-82 : Called from
E:\haxe\haxe\std/neko/_std/Array.hx:275: characters 12-18 : Called from
hxAnonCls/Macros.hx:467: characters 14-37 : Called from
E:\haxe\haxe\std/neko/_std/Array.hx:275: characters 12-18 : Called from
hxAnonCls/Macros.hx:467: characters 14-37 : Called from
hxAnonCls/Macros.hx:573: characters 9-28 : Called from
hxAnonCls/Macros.hx:88: characters 7-26 : Called from
hxAnonCls/AnonCls.hx:371: characters 18-55 : Called from
test/Test.hx:50: lines 50-53 : Called from
Aborted
Thanks all!!
Micahel
try in hxAnonCls/hxAnonCls/Macros.hx
around line 332
var meta = (untyped v.meta:Metadata);
var res = meta == null ? false : meta.exists(function(m) return m.name == ":unbound");
if (res)
macro @:pos(te.pos) untyped $i{vName};
else
macro @:pos(te.pos) $i{vName};
--
To post to this group haxe...@googlegroups.com
http://groups.google.com/group/haxelang?hl=en
---
You received this message because you are subscribed to the Google Groups "Haxe" group.
For more options, visit https://groups.google.com/d/optout.
Wait, the error is from Lambda.hx
, so:
var meta = (untyped v.meta:Metadata);
var res = meta == null ? false : meta.exists(function(m) return m!=null && m.name == ":unbound");
if (res)
macro @:pos(te.pos) untyped $i{vName};
else
macro @:pos(te.pos) $i{vName};
trace(1);
for (x in (untyped v.meta:Metadata)){
trace(x);
}
trace(2);
hxAnonCls/Macros.hx:333: 1
hxAnonCls/Macros.hx:337: 2
haxe\std/Lambda.hx:142: { ??? => #function:1, add => #function:3, get => #function:0, has => #function:1, remove => #function:1 }