Skip to content

Commit

Permalink
[python] fixes HaxeFoundation#10440
Browse files Browse the repository at this point in the history
  • Loading branch information
Clément Charmet committed Oct 20, 2021
1 parent 8960840 commit 0517932
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion std/python/Boot.hx
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ class Boot {
}

static inline function isMetaType(v:Dynamic, t:Dynamic):Bool {
return python.Syntax.binop(v, "==", t);
return Syntax.binop(Syntax.binop(Syntax.call(UBuiltins.type, [v]), "==", UBuiltins.type), "and", Syntax.binop(v, "==", t));
}

@:analyzer(no_local_dce)
Expand Down

0 comments on commit 0517932

Please sign in to comment.