Created
November 4, 2015 07:36
-
-
Save jdonaldson/a74aea77881e0277dd99 to your computer and use it in GitHub Desktop.
Missing Std.string()=>toString() change on int64 abstract for lua.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-cmd echo "js" | |
-main Main | |
-js out.js | |
-cmd node out.js | |
-D dump | |
--next | |
-cmd echo "lua" | |
-main Main | |
-D dump | |
-lua out.lua | |
-cmd lua out.lua | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using haxe.Int64; | |
import haxe.Int64.*; | |
class Main { | |
static function main(){ | |
var a:Int64 = 0; | |
eq( Std.string( a ), "0" ); | |
} | |
static function eq<T>( v : T, v2 : T) { | |
if( v != v2 ) { | |
trace(Std.string(v)+" should be "+Std.string(v2)); | |
} | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment