Nicolas, Have you thought about using another message, something like #terminateIfRunning that you put in both Process and UndefinedObject? Then you can just send it w/o the test and w/o a compiler change. Bill ________________________________________ From: pharo-project-bounces@lists.gforge.inria.fr [pharo-project-bounces@lists.gforge.inria.fr] On Behalf Of Nicolas Cellier [nicolas.cellier.aka.nice@gmail.com] Sent: Sunday, October 10, 2010 8:39 AM To: The general-purpose Squeak developers list; Pharo Development Subject: [Pharo-project] Compiler pedantic about ifNotNil: argument The compiler uselessly insist on #ifNotNil: argument being a zero/one arg block. Thus we cannot write this xtream sentence process ifNotNil: #terminate. When the argument is not a block, Compiler should avoid inlining and just send a normal message. cheers Nicolas _______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project