Skip to content

TODO: (1 + 2).toString() #625

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

Closed
trusktr opened this issue Jun 1, 2019 · 2 comments
Closed

TODO: (1 + 2).toString() #625

trusktr opened this issue Jun 1, 2019 · 2 comments

Comments

@trusktr
Copy link
Member

trusktr commented Jun 1, 2019

The following would normally work in JS:

ERROR AS100: Operation not supported.

        assert(surface == 18 * 24, 's surface is not ' + (18 * 24).toString() + '. Got: ' + surface.toString())
                                                    ~~~~~~~

So instead I had to do something like const foo = 18 * 24 then foo.toString().

@dcodeIO
Copy link
Member

dcodeIO commented Jun 4, 2019

Related: #473

@trusktr
Copy link
Member Author

trusktr commented Jun 11, 2019

closing as duplicate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants