-
-
Notifications
You must be signed in to change notification settings - Fork 656
New issue
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
Consider toString
static extension in string coercion
#11767
Comments
Hmm, I thought I do agree that |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
AFAF: https://try.haxe.org/#52ff1319
In the
trace('$m')
case the compiler explicitly inserts aStd.string
and to expect thetoString
to be used there if available seems quite reasonable. In thetrace(m)
case I'm not so sure what the behavior should be, but FWIW I think the best option would be to make it work the same as it works for abstracts.The text was updated successfully, but these errors were encountered: