[Glass] Why this closure fails to compile?

Mariano Martinez Peck via Glass glass at lists.gemtalksystems.com
Sun Nov 22 08:40:40 PST 2015


'[ :node :dict |
(node value isSymbol and: [ node value matchesRegex: ''.*oldSelector.*'' ])
  ifTrue: [
    dic at: #''oldSelector'' put: node value.
    true ]
  ifFalse: [ false ]
]' evaluate

???

I don't get it...
maybe I am too tired...

thanks in advance,

-- 
Mariano
http://marianopeck.wordpress.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gemtalksystems.com/mailman/private/glass/attachments/20151122/73d4856e/attachment.html>


More information about the Glass mailing list