Update GenericError.hx

removed @:
@:enum abstract is deprecated in favor of  enum abstract
This commit is contained in:
chatmurai
2026-01-13 15:20:22 +01:00
committed by GitHub
parent a5f5020b99
commit 2ae7edad4a
+2 -2
View File
@@ -3,7 +3,7 @@ package bindx.macro;
import haxe.macro.Context;
import haxe.macro.Expr.Position;
@:enum abstract WarnPriority(Int) to Int from Int {
enum abstract WarnPriority(Int) to Int from Int {
var ALL = 2;
var INFO = 1;
var LOW = 0;
@@ -53,4 +53,4 @@ class GenericError {
public function contextFatal():Void {
Context.fatalError(message, pos);
}
}
}