Issue 3588 in pharo: Monticello breaks when trying to load code with syntax errors

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Issue 3588 in pharo: Monticello breaks when trying to load code with syntax errors

pharo
Status: New
Owner: ----

New issue 3588 by [hidden email]: Monticello breaks when trying to  
load code with syntax errors
http://code.google.com/p/pharo/issues/detail?id=3588

Pharo image: Pharo
Pharo core version: Pharo1.2rc1/Latest update: #12317
Virtual machine used: 'Squeak3.10.2 of 11 February 2010 [latest update:  
#9314]' (windows)


Steps to reproduce:
1. Monticello browser->+Package named OpenGL
2. +Repository http: www.squeaksource.com/OpenGL
3. Open it, load OpenGL-clk.5.mcz ignoring warning because of missing  
classes.

You get a syntax error because of underscore assignments, but it would fail  
the same for any syntax error, like assigning to a variable that is a  
parameter instead of a temporary, or anything that compiled with a previous  
compiler and doesn't compile anymore. The code can be modified by hand and  
(should be) accepted with ctrl+s, but then a monticello error is raised.

The main thing is to fix the stack trace. Then, an accept/ignore and  
continue/cancel all button would be even better.