Skip to content

Commit

Permalink
[tests] fix macro-in-macro when test fails
Browse files Browse the repository at this point in the history
  • Loading branch information
kLabz committed Oct 3, 2023
1 parent 7c748ff commit fba915b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/sourcemaps/src/Validator.hx
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ class Validator {
} else if(Context.defined('php')) {
Php;
} else {
throw new InvalidTargetException('Current target is not supported', haxe.macro.PositionTools.here());
throw new InvalidTargetException('Current target is not supported', (macro 0).pos);
}
}

Expand Down

0 comments on commit fba915b

Please sign in to comment.