Skip to content
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

Returning an illegal value from a function shows no visible error #46

Open
expositionrabbit opened this issue Mar 27, 2015 · 0 comments
Labels

Comments

@expositionrabbit
Copy link

Function Test() as Integer
   Return "This is no integer"
End Function

Print Test()

The editor shows no error when pasting in this code. However, it correctly refuses to run it. Calling ebeditor.runCode() from the browser console shows Error: Failed to cast "String" to "Number", but the editor does not display this in any way.

@henkkuli henkkuli added the bug label Mar 29, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants