Skip to content

Commit

Permalink
Don't use operators introduced in Haxe 4.3.
Browse files Browse the repository at this point in the history
Not yet, anyway.
  • Loading branch information
player-03 committed Oct 22, 2024
1 parent cec7504 commit 28f2256
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/echoes/macro/MacroTools.hx
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,8 @@ class MacroTools {
final fieldChain:Null<String> = printFieldChain(e);
if(fieldChain != null) {
try {
return followMono(fieldChain.getType()).toComplexType() ?? macro:Dynamic;
final result:ComplexType = followMono(fieldChain.getType()).toComplexType();
return result != null ? result : macro:Dynamic;
} catch(err:Exception) { }
}

Expand Down

0 comments on commit 28f2256

Please sign in to comment.