Explorar el Código

fix test to force inlining

Simon Krajewski hace 9 años
padre
commit
52d7c2c36c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      tests/unit/src/unit/issues/Issue4886.hx

+ 1 - 1
tests/unit/src/unit/issues/Issue4886.hx

@@ -1,7 +1,7 @@
 package unit.issues;
 
 private class C {
-	inline function get() {
+	@:extern inline function get() {
 		var intStruct = { i: 0 };
 		return intStruct;
 	}