HeapsIO / hxbit

Haxe Binary serialization and network synchronization library
155 stars 30 forks source link

not usable in macro context #2

Closed francescoagati closed 7 years ago

francescoagati commented 7 years ago

Hi, inside macro context hxbit can't be used because of @:genericBuild cannot be used in macros in line Serializable.hx:44

ncannasse commented 7 years ago

Yes it's a normal restriction when dealing with build macros, why do you want to use hxbit inside macros ?

francescoagati commented 7 years ago

I want use it inside macro for serialize ast methods. But i have resolve with normal haxe serialization