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

Tobias Pape Das.Linux at gmx.de
Wed Aug 14 20:39:38 UTC 2019


> On 14.08.2019, at 21:32, Jakob Reschke <forums.jakob at resfarm.de> wrote:
> 
> 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.

Yeah, it's legal. A way to tell the compiler: "I know there are some block args, but I don't case, do nothing"



> 
> 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:
> 
> 
> 
> Or small example for the Workspace with enabled highlighting:
> 
>     Dictionary new
>         at: #x
>         ifPresent: [:x]
>         ifAbsent: []
> 
> Kind regards,
> Jakob
> 
> 
> 




More information about the Squeak-dev mailing list