Closed
Description
[Google Issue #1838 : https://code.google.com/p/haxe/issues/detail?id=1838]
by lucadelt...@googlemail.com, at 21/05/2013, 23:44:15
macro class { } currently works fine in all cases of reification that I have tested... except for field name reification.
var t = macro :Int;
var i = "y";
var e = macro $i + 10;
var fields = (macro class { function x($i:$t):$t return $e; }).fields;
all works well, but we can't do:
(macro class { function $i(); }).fields
as the $i will give a compiler error.
Suggest permitting $ prefix for identifiers in general so that we can get reificatino for fields properly.
Activity