"Didn't output to" error shows wrong procedure when tailcall optimization is used
A Logo programming environment for Microsoft Windows
Brought to you by:
david_costanzo
The "didn't output to" error shows the wrong procedure name when (I suspect) a tailcall optimization is used.
How Reproducible:
Every Time
Steps to Reproduce:
1) Define SQUARE
TO SQUARE
REPEAT 4 [ FORWARD 100 RIGHT 90 ]
END
2) Execute SHOW SQUARE in the commander
What Happens:
A square is drawn and the commander history shows an error
RIGHT didn't output to SHOW
Expected Result:
A square is drawn and the commander history shows an error
SQUARE didn't output to SHOW
Notes:
UCBLogo shows the correct error message.
MSWLogo shows an error which says REPEAT didn't output to SHOW.
I don't know what in FMSLogo changed from MSWLogo, but fixing this should be a matter of porting the fix from UCBLogo.