Skip to content

Instantly share code, notes, and snippets.

@jdonaldson
Created November 4, 2015 07:36
Show Gist options
  • Save jdonaldson/a74aea77881e0277dd99 to your computer and use it in GitHub Desktop.
Save jdonaldson/a74aea77881e0277dd99 to your computer and use it in GitHub Desktop.
Missing Std.string()=>toString() change on int64 abstract for lua.
-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
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