浏览代码

just @:keep for now

Simon Krajewski 1 年之前
父节点
当前提交
5698a41898
共有 1 个文件被更改,包括 1 次插入1 次删除
  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);
 	}