From 2ae7edad4a1486c20bd1e7a81065aa89ad41f390 Mon Sep 17 00:00:00 2001 From: chatmurai <1504536+chatmurai@users.noreply.github.com> Date: Tue, 13 Jan 2026 15:20:22 +0100 Subject: [PATCH] Update GenericError.hx removed @: @:enum abstract is deprecated in favor of enum abstract --- src/bindx/macro/GenericError.hx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bindx/macro/GenericError.hx b/src/bindx/macro/GenericError.hx index a7373f6..60c9dd1 100644 --- a/src/bindx/macro/GenericError.hx +++ b/src/bindx/macro/GenericError.hx @@ -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); } -} \ No newline at end of file +}