[squeak-dev] [BUG] Parser does not detect syntax error with double colon
Thiede, Christoph
Christoph.Thiede at student.hpi.uni-potsdam.de
Fri Feb 28 12:48:54 UTC 2020
Steps to reproduce:
Try doIt this (for example, in a workspace):
2 raisedTo:: 3.
Expected behavior:
2 raisedTo:"Argument expected ->": 3.
Actual behavior:
[cid:c80a10c0-c0f3-449a-b34d-733c44256241]
If you are thumb enough to choose #raisedTo:: (I was), you get a subsequent error:
[cid:c80d78da-81df-4634-82c0-1721a66c80c2]
Even worse: If you try to doIt the same code snippet again, no parser warning/error will be raised at all but you get a runtime error:
MessageNotUnderstood: SmallInteger>>raisedTo::.
Best,
Christoph
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20200228/f03ed142/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pastedImage.png
Type: image/png
Size: 5301 bytes
Desc: pastedImage.png
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20200228/f03ed142/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pastedImage.png
Type: image/png
Size: 21890 bytes
Desc: pastedImage.png
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20200228/f03ed142/attachment-0001.png>
More information about the Squeak-dev
mailing list
|