From 8b117b7d7bee95962ae51820aa66a5cd52338cb1 Mon Sep 17 00:00:00 2001 From: Joseph Cloutier Date: Tue, 1 Oct 2024 20:45:19 -0400 Subject: [PATCH] Remove `@:generic` from `Promise`. --- src/lime/app/Future.hx | 2 +- src/lime/app/Promise.hx | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/lime/app/Future.hx b/src/lime/app/Future.hx index 64f36c5200..2c89c0ce1d 100644 --- a/src/lime/app/Future.hx +++ b/src/lime/app/Future.hx @@ -40,7 +40,7 @@ import lime.utils.Log; @:fileXml('tags="haxe,release"') @:noDebug #end -@:allow(lime.app.Promise) /*@:generic*/ class Future +@:allow(lime.app.Promise) class Future { /** If the `Future` has finished with an error state, the `error` value diff --git a/src/lime/app/Promise.hx b/src/lime/app/Promise.hx index 627f32063d..6b3392a64a 100644 --- a/src/lime/app/Promise.hx +++ b/src/lime/app/Promise.hx @@ -44,9 +44,6 @@ package lime.app; @:noDebug #end @:allow(lime.app.Future) -#if (!hl && !js && !macro) -@:generic -#end class Promise { /**