We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
See tests.
The text was updated successfully, but these errors were encountered:
Is this why my build macro is giving 'build failure' in Haxe 4.3?
import haxe.macro.Context; import haxe.macro.Expr; using StringTools; class EnumBuilder { macro static public function build(types:ExprOf<Map<Int, String>>):Array<Field> { var t:Map<Int, String> = tink.macro.Exprs.eval(types); var fields = Context.getBuildFields() for (i => name in t) { fields.push({ name: name, doc: null, meta: [], access: [APublic], kind: FVar(null, macro $v{i}), pos: Context.currentPos(), }); } return fields; }
Sorry, something went wrong.
Hard to know for sure without more context, but yes, it's a possible cause.
No branches or pull requests
See tests.
The text was updated successfully, but these errors were encountered: