We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This code fails on neko, interp and run on haxe 3.2.1 and latest dev:
class T { public function new () { } public function toString () { var full = Type.getClassName(Type.getClass(this)); var short = full.split (".").pop (); return "[object " + short + "]"; } public static function main () { trace(Type.getClass(new T())); } }
the trace seems to call the toString method, and in it Type.getClass(this) return null.
toString
Type.getClass(this)
Tested and works on python, java, c#, c++ and lua.
The text was updated successfully, but these errors were encountered:
add test (closes HaxeFoundation#5155)
10d7de8
614b588
No branches or pull requests
This code fails on neko, interp and run on haxe 3.2.1 and latest dev:
the trace seems to call the
toString
method, and in itType.getClass(this)
return null.Tested and works on python, java, c#, c++ and lua.
The text was updated successfully, but these errors were encountered: