Re: Compiler error with ifTrue:ifFalse: ?
- From: Tim M <365nice@xxxxxxxxx>
- Date: Thu, 22 May 2008 08:51:44 +0000 (UTC)
Hi Dmitry,
#ifTrue:ifFalse: and #ifFalse:ifTrue: methods wait for block with
brackets for optimization.
Yes you normally get the warning in the transcript but it usually works. However in the case of ifFalse:ifTrue: it actually gives an error and refuses to compile. This seems wrong especially when ifTrue:ifFalse: doesn't?
I have applied the change that you suggest - but it does seem like an inconsistency.
Tim
.
- Follow-Ups:
- Re: Compiler error with ifTrue:ifFalse: ?
- From: Dmitry Zamotkin
- Re: Compiler error with ifTrue:ifFalse: ?
- References:
- Re: Compiler error with ifTrue:ifFalse: ?
- From: Dmitry Zamotkin
- Re: Compiler error with ifTrue:ifFalse: ?
- Prev by Date: Re: Compiler error with ifTrue:ifFalse: ?
- Next by Date: How to add/modify contextmenu of URLPresenter/IWebBrowser2 ?
- Previous by thread: Re: Compiler error with ifTrue:ifFalse: ?
- Next by thread: Re: Compiler error with ifTrue:ifFalse: ?
- Index(es):
Relevant Pages
|