I also face this bug a lot when using macros in macros. And it's really annoying.
It happens only for flash target and exception message is something like "error #1069: Can't find property myName in Pet".
I think this is caused because at compile time haxe remove all properties which are not variables and replace them with pure accessors calls. However compiller does not know if dynamic object has accessor and generate a bytecode referencing absent property.
Workaround is to mark such propeties with @:isVar meta data.
воскресенье, 22 сентября 2013 г., 21:15:19 UTC+4 пользователь Vsio Stitched написал: