Browse Source

just @:keep for now

Simon Krajewski 1 year ago
parent
commit
5698a41898
1 changed files with 1 additions and 1 deletions
  1. 1 1
      std/haxe/coro/Coroutine.hx

+ 1 - 1
std/haxe/coro/Coroutine.hx

@@ -15,7 +15,7 @@ abstract Coroutine<T:haxe.Constraints.Function> {
 
 	#if (jvm || eval)
 	@:native("suspend")
-	@:ifFeature("_StdTypes.Coroutine_Impl_.suspend")
+	@:keep
 	static function nativeSuspend<T>(f, cont:Continuation<T, Null<Dynamic>>) {
 		return (_, _) -> f(cont);
 	}