>
> parent isArray ifTrue: [ ^ false ].

Wow this actually seems to work, thanks!
We could integrate it for Pharo 6.

As for the Literal Array, this appears to solve it

BlConfigurableFormatter>>visitLiteralNode: aLiteralNode
aLiteralNode value isLiteral
ifFalse: [ ^ self writeString: '''<an unprintable nonliteral value>''' ].
aLiteralNode parent isLiteralArray
ifTrue: [ self writeString: (aLiteralNode sourceText withoutPrefix: '#') ]
ifFalse: [ self writeString: aLiteralNode sourceText ]

Reply via email to