Skip to content

Commit

Permalink
Resolve deprecation warning in Haxe 4.2.4 (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
EliteMasterEric authored Nov 22, 2021
1 parent 070e6fd commit bbf1aa0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hxcpp-debug-server/hxcpp/debug/jsonrpc/eval/Interp.hx
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,7 @@ class Interp {
}

inline function isMap(o:Dynamic):Bool {
return Std.is(o, haxe.Constraints.IMap);
return Std.isOfType(o, haxe.Constraints.IMap);
}

inline function getMapValue(map:Dynamic, key:Dynamic):Dynamic {
Expand Down

1 comment on commit bbf1aa0

@psiegers
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are more deprecation warnings in other files, can these also be resolved? TIA!

Please sign in to comment.