Skip to content

Commit

Permalink
don't recurse
Browse files Browse the repository at this point in the history
  • Loading branch information
Simn committed Feb 3, 2024
1 parent 4260da3 commit 2f56f2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion std/haxe/macro/Compiler.hx
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ class Compiler {

public static function addMetadata(meta:String, className:String, ?field:String, ?isStatic:Bool) {
var pathFilter = field == null ? className : '$className.$field';
addGlobalMetadata(pathFilter, meta, true, field == null, field != null);
addGlobalMetadata(pathFilter, meta, false, field == null, field != null);
}

/**
Expand Down

0 comments on commit 2f56f2c

Please sign in to comment.