Browse Source

keep __compare (close #4141)

Nicolas Cannasse 10 năm trước cách đây
mục cha
commit
3194502a00
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      std/neko/vm/Thread.hx

+ 1 - 1
std/neko/vm/Thread.hx

@@ -63,7 +63,7 @@ class Thread {
 		return thread_read_message(block);
 		return thread_read_message(block);
 	}
 	}
 
 
-	function __compare(t) {
+	@:keep function __compare(t) {
 		return untyped __dollar__compare(handle,t.handle);
 		return untyped __dollar__compare(handle,t.handle);
 	}
 	}