[Pharo-project] Weird OB accept behavior
I am using a 1.1.1 image with SystemBrowser defaultOpenBrowser OBSystemBrowserAdaptor I am debugging some code that I have not used for a while, so a few growing pains would not be a surprise. What DOES surprise me is the following: (1) select #plotFrom:to:using:keepGoing:plots: and accept the code; no errors are reported; fair enough (or is it?). (2) edit the source (even just adding a harmless new line) and accept, and the compiler (correctly, it appears) complains that arguments are already defined. I suspect the arguments are indeed stomping on instance variables that I added during the past year, and that confusion is the source of some seriously strange looking behavior. The point is that accept is apparently doing nothing or failing silently until I actually edit the source. I greatly prefer the error messages to silence; I assume the silence is related to a desire to get code loaded intact rather than having MC bark mid-load?? Bill
Lukas, That explains it, but the very fact that I ran across this suggests that there is a reason to compile code as-is, so perhaps the check should be removed. Bill ________________________________________ From: pharo-project-bounces@lists.gforge.inria.fr [pharo-project-bounces@lists.gforge.inria.fr] On Behalf Of Lukas Renggli [renggli@gmail.com] Sent: Wednesday, November 10, 2010 1:51 PM To: Pharo-project@lists.gforge.inria.fr Subject: Re: [Pharo-project] Weird OB accept behavior
(1) select #plotFrom:to:using:keepGoing:plots: and accept the code; no errors are reported; fair enough (or is it?).
The editor does not trigger the accept event if the text is not dirty. Lukas -- Lukas Renggli www.lukas-renggli.ch
As I wrote, this is not an OB issue. Propose a change to Morphic. Lukas On 10 November 2010 22:39, Schwab,Wilhelm K <bschwab@anest.ufl.edu> wrote:
Lukas,
That explains it, but the very fact that I ran across this suggests that there is a reason to compile code as-is, so perhaps the check should be removed.
Bill
________________________________________ From: pharo-project-bounces@lists.gforge.inria.fr [pharo-project-bounces@lists.gforge.inria.fr] On Behalf Of Lukas Renggli [renggli@gmail.com] Sent: Wednesday, November 10, 2010 1:51 PM To: Pharo-project@lists.gforge.inria.fr Subject: Re: [Pharo-project] Weird OB accept behavior
(1) select #plotFrom:to:using:keepGoing:plots: and accept the code; no errors are reported; fair enough (or is it?).
The editor does not trigger the accept event if the text is not dirty.
Lukas
-- Lukas Renggli www.lukas-renggli.ch
-- Lukas Renggli www.lukas-renggli.ch
participants (2)
-
Lukas Renggli -
Schwab,Wilhelm K