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

No errors given when expected #31

Open
GoogleCodeExporter opened this issue Jun 26, 2015 · 1 comment
Open

No errors given when expected #31

GoogleCodeExporter opened this issue Jun 26, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
--------------------------------------

I am trying some simple errors on script files to test if the error reports
are explanatory. Here is a script with a mistake:

| foo |

foo := 'bar', 2.

Transcript show: foo.


What is the expected output? What do you see instead?
-----------------------------------------------------
The output is:

bar

But I expect an error that I cannot use , message with an Integer. Also if
I try to directly show the output without assigning to a variable like this:

Transcript show: 'bar', 2.

syx interpreter just freezes and does nothing.


What version of the product are you using? On what operating system?
--------------------------------------------------------------------

0.1.7 - Windows

Original issue reported on code.google.com by canol.go...@gmail.com on 14 Jul 2008 at 9:23

@GoogleCodeExporter
Copy link
Author

Yes an exception should have been raised.
The exception is not raised because #, asks for #size to 2 which is 0, so 
nothing is
done.
The freeze doesn't happen on Linux, I've to investigate more.
Thanks for the report.

Original comment by lethalma...@gmail.com on 14 Jul 2008 at 2:06

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

1 participant