Skip to content

Commit ca07b65

Browse files
authored
Fix @:enum abstract deprecation warning in Protocol.hx
1 parent 896154f commit ca07b65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hxcpp-debug-server/hxcpp/debug/jsonrpc/Protocol.hx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ typedef Message = {
1818
@:optional var error:Error;
1919
}
2020

21-
@:enum
21+
#if haxe4 enum #else @:enum #end
2222
abstract ErrorCode(Int) to Int {
2323
var internal = 500;
2424
var wrongRequest = 422;

0 commit comments

Comments
 (0)