[Pharo-project] non-interactive compiling with feedback

Milan Mimica milan.mimica at gmail.com
Tue Mar 20 14:51:57 EDT 2012


On 19 March 2012 23:28, Eliot Miranda <eliot.miranda at gmail.com> wrote:

>
> Look at UndeclaredVariableWarning.  The Squeak code isn't well favtored.
>  defaultAction needs to be decomposed further into a messageText
> implementation.  But basically I'd want the UndeclaredVariableWarning's
> messageText to provide the warning string.  So I could do e.g.
>
>     [Compiler evaluate: aString]
>         on: UndeclaredVariableWarning
>         do: [:ex| Transcript cr; show: ex messageText]
>

Had to do this to make it work:
MorphicUIManager default interactiveParser: false.



-- 
Milan Mimica
http://sparklet.sf.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pharo.org/pipermail/pharo-dev_lists.pharo.org/attachments/20120320/78e95d17/attachment-0001.html>


More information about the Pharo-dev mailing list