Bläddra i källkod

[neko] dodge for now

see #7736
Simon Krajewski 3 år sedan
förälder
incheckning
507a54cd9e
1 ändrade filer med 9 tillägg och 10 borttagningar
  1. 9 10
      std/neko/Boot.hx

+ 9 - 10
std/neko/Boot.hx

@@ -108,15 +108,14 @@ class Boot {
 		}
 	}
 
-	private static function __tagserialize(o:Dynamic)
-		untyped {
-			var n = o.__enum__.__ename__;
-			var x = __dollar__amake(n.length + 1);
-			for (i in 0...n.length)
-				x[i] = n[i].__s;
-			x[n.length] = o.tag;
-			return x;
-		}
+	private static function __tagserialize(o:Dynamic) untyped {
+		var n = o.__enum__.__ename__;
+		var x = __dollar__amake(n.length + 1);
+		for (i in 0...n.length)
+			x[i] = n[i].__s;
+		x[n.length] = o.tag;
+		return x;
+	}
 
 	private static function __unserialize(v:Dynamic) {
 		untyped {
@@ -125,7 +124,7 @@ class Boot {
 			for (i in 0...__dollar__asize(v))
 				if (__dollar__typeof(v[i]) != __dollar__tstring)
 					throw "Invalid serialized class data";
-			var cl = neko.Boot.__classes;
+			var cl:Dynamic = neko.Boot.__classes;
 			for (i in 0...__dollar__asize(v)) {
 				cl = __dollar__objget(cl, __dollar__hash(v[i]));
 				if (cl == null)