Dan Korostelev 10 年之前
父节点
当前提交
e57d6459ca
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      std/UInt.hx

+ 1 - 1
std/UInt.hx

@@ -275,7 +275,7 @@ abstract UInt(Int) from Int to Int {
 		return this;
 		return this;
 	}
 	}
 
 
-	@:to private #if !js inline #end function toFloat():Float {
+	@:to private #if (!js || analyzer) inline #end function toFloat():Float {
 		var int = toInt();
 		var int = toInt();
 		if (int < 0) {
 		if (int < 0) {
 			return 4294967296.0 + int;
 			return 4294967296.0 + int;