Compare commits
4 Commits
0.20.2
...
isAbstract
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
59d7407d1b | ||
|
|
0680220a77 | ||
|
|
acaedc170a | ||
|
|
8b9dbba624 |
@@ -9,8 +9,8 @@
|
||||
"contributors": [
|
||||
"back2dos"
|
||||
],
|
||||
"version": "0.20.2",
|
||||
"releasenote": "Expose autocompletion contents. Work around metadata completion issue.",
|
||||
"version": "0.21.1",
|
||||
"releasenote": "Fix issue with build field retrieval.",
|
||||
"tags": [
|
||||
"tink",
|
||||
"macro",
|
||||
|
||||
@@ -23,9 +23,9 @@ class ClassBuilder {
|
||||
target = Context.getLocalClass().get();
|
||||
|
||||
if (fields == null)
|
||||
switch MacroApi.getBuildFields() {
|
||||
fields = switch MacroApi.getBuildFields() {
|
||||
case None: target.pos.error('Impossible to get builds fields now. Possible cause: https://github.com/HaxeFoundation/haxe/issues/9853');
|
||||
case Some(_):
|
||||
case Some(v): v;
|
||||
}
|
||||
|
||||
this.initializeFrom = fields;
|
||||
|
||||
@@ -172,6 +172,9 @@ class Types {
|
||||
#if haxe4
|
||||
isExtern: field.isExtern,
|
||||
isFinal: field.isFinal,
|
||||
#if (haxe >= version("4.2.0-rc.1"))
|
||||
isAbstract: field.isAbstract,
|
||||
#end
|
||||
#end
|
||||
}:ClassField)
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user