[squeak-dev] annoying bug with close bracket

Eliot Miranda eliot.miranda at gmail.com
Tue Dec 28 19:35:43 UTC 2021


Hi Marcel, Hi All,

    inspect
        Smalltalk specialObjectsArray
in the evaluator workspace at the bottom type exactly this (it is missing
the closing square bracket)

    self select: [:o| o isSymbol or: [o isArray and: [o anySatisfy:
#isSymbol]]

hit print it. Now the compiler generates the warning, which is selected:

self select: [:o| o isSymbol or: [o isArray and: [o anySatisfy: #isSymbol]]
"Period or right bracket expected ->"

typing ']' has no effect :-(  Instead one has to delete the selection and
then hit ']' :-(

_,,,^..^,,,_
best, Eliot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20211228/dacb21d5/attachment.html>


More information about the Squeak-dev mailing list