Browse Source

temp fix for doc_gen issue with UInt

Simon Krajewski 11 years ago
parent
commit
24b5fe30ae
1 changed files with 3 additions and 2 deletions
  1. 3 2
      std/UInt.hx

+ 3 - 2
std/UInt.hx

@@ -20,7 +20,7 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
-#if (flash9 || flash9doc || cs)
+#if ((flash9 || flash9doc || cs) && !doc_gen)
 /**
 	The unsigned Int type is only defined for Flash9 and C#. It's currently
 	handled the same as a normal Int.
@@ -209,7 +209,8 @@ abstract UInt(Int) from Int {
 		return this--;
 	}
 
-	private inline function toString():String {
+	// TODO: radix is just defined to deal with doc_gen issues
+	private inline function toString(?radix:Int):String {
 		return Std.string(toFloat());
 	}