[squeak-dev] Wrong styling after blocks with arguments without statements

Jakob Reschke forums.jakob at resfarm.de
Wed Aug 14 19:32:22 UTC 2019


I know, though I didn't write the occurrence that I stumbled upon in
Monticello. Looks like the compiler accepts this syntax without the bar.
And if it is legal, then it should not cause the syntax highlighting to
malfunction.

Am Mi., 14. Aug. 2019 um 21:22 Uhr schrieb Phil B <pbpublist at gmail.com>:

> You're missing a vertical bar after the (last) parameter (i.e. :t| )
>
> On Wed, Aug 14, 2019 at 3:05 PM Jakob Reschke <forums.jakob at resfarm.de>
> wrote:
>
>> Hello,
>>
>> Can't tell right now whether it is due to recent changes or an old bug:
>>
>> [image: image.png]
>>
>> Or small example for the Workspace with enabled highlighting:
>>
>>     Dictionary new
>>         at: #x
>>         ifPresent: [:x]
>>         ifAbsent: []
>>
>> Kind regards,
>> Jakob
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20190814/f19e2046/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 148154 bytes
Desc: not available
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20190814/f19e2046/attachment-0001.png>


More information about the Squeak-dev mailing list