Error: subscript is out of bounds: 2

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

Error: subscript is out of bounds: 2

hernanmd
Hi all,

When I evaluate

Compiler compile: '|'

in an old version like PharoCore1.1ALPHA #11106 brings a Syntax Error
window with the message " |Argument name expected -> "

Now in Pharo1.2a #12186 or Pharo1.1rc2 #11400 I get a Debugger with
the message "Error: subscript is out of bounds: 2". This happens in
latest Squeak too.

Apparently the parser is catching the exception but the #notify:at:
method is not reading the source contents in a proper way when
creating the SyntaxErrorNotification.

Is this a known bug?




--
HernĂ¡n Morales
Information Technology Manager,
Institute of Veterinary Genetics.
National Scientific and Technical Research Council (CONICET).
La Plata (1900), Buenos Aires, Argentina.
Telephone: +54 (0221) 421-1799.
Internal: 422
Fax: 425-7980 or 421-1799.

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project