Hello Community,
I try to get familiar with
HAXE macros. Therefore I have done some own experiments (not very successfully). Finally I have tried to get a script from GitHub to run:
https://gist.github.com/FuzzyWuzzie/412e2109a5f5fbcf12e1The compiler claims:
src/Profile.hx 54: Class <haxe.macro.Context> has no field 'makeExpr'
Which is a vicious lie of that damn mashine...
I have had a look in the specific class as maybe the API has changed in the meantime.
Confusingly this function is still present.
And I can't solute a problem, that apperently does not exist.
...
Another hint:
In the orignal code the error causing line is written as
macro { ... } which is the shorthand for
Context.makeExpr()
Does anybody have an idea?
HAXE macros are really cool. But still they are a secret science as many peoply say...
Kind regards
Michael