Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0007703 [Squeak] Compiler minor always 08-21-12 06:59 01-03-13 09:51
Reporter kwl View Status public  
Assigned To
Priority normal Resolution fixed Platform
Status resolved   OS
Projection none   OS Version
ETA none Fixed in Version Product Version 4.3
  Product Build
Summary 0007703: During fileIn, Parser>>notify:at: has Error: subscript is out of bounds: 73
Description Filing in, from source code which has typo in the last position (inadvertedly typed a > behind last valid expression).

When Parser wants to report, it has a problem with arguments for Text>>copyReplaceFrom:to:with:.
Steps To Reproduce
Additional Information The typo can be seen in the first ByteString in the attached SqueakDebug.log.

.image: Squeak4.3.image latest update: #11860
VM: Squeak3.10.2 of 11 February 2010 [latest update: #9314] Win32 built on Jul 27 2010 20:35:19 Compiler: 2.95.2 19991024 (release)
Attached Files  SqueakDebug.log [^] (16,384 bytes) 08-21-12 06:59

- Relationships

- Notes
(0014263 - 117 - 117 - 117 - 117 - 117 - 117)
FrankShearar
12-18-12 12:23

Is it possible for you to show the offending piece of code? Can you produce a minimal case that reproduces the issue?
 
(0014264 - 636 - 718 - 718 - 718 - 718 - 718)
kwl
12-18-12 15:53

FrankShearar asked: Is it possible for you to show the offending piece of code?

Sure, here comes the original (offending) source coded from the (attached) log file, it is decorated here for use by file-in with alt-G (in e.g. the File List tool):

!UndefinedObject methodsFor: 'FrankShearar'!
return: argv adaptToFloat: rcvr
 ^argv adaptToFloat: rcvr andSend: self>! !

FrankShearar asked: Can you produce a minimal case that reproduces the issue?

Sure, in the previous I just copied&pasted from the log file (the one attached to the original report), and then alt-G produced the same "Error: subscript is out of bounds: 73".
 
(0014265 - 134 - 134 - 134 - 134 - 134 - 134)
FrankShearar
12-18-12 17:11

I put the chunk in file (foo.st). In a Squeak 4.4 trunk image I filed in foo.st. I got a SyntaxError correctly highlighting the error.
 
(0014277 - 74 - 74 - 74 - 74 - 74 - 74)
nicolas cellier
01-02-13 21:14

fixed in 4.4 (various changes from Compiler-nice.222 to Compiler-nice.225)
 
(0014282 - 29 - 29 - 29 - 29 - 29 - 29)
kwl
01-03-13 09:51

Thanks for the good teamwork!
 

- Issue History
Date Modified Username Field Change
08-21-12 06:59 kwl New Issue
08-21-12 06:59 kwl File Added: SqueakDebug.log
12-18-12 12:23 FrankShearar Note Added: 0014263
12-18-12 15:53 kwl Note Added: 0014264
12-18-12 17:11 FrankShearar Note Added: 0014265
12-18-12 17:12 FrankShearar Status new => confirmed
01-02-13 21:14 nicolas cellier Note Added: 0014277
01-02-13 21:14 nicolas cellier Status confirmed => resolved
01-02-13 21:14 nicolas cellier Resolution open => fixed
01-03-13 09:51 kwl Note Added: 0014282


Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
56 total queries executed.
40 unique queries executed.
Powered by Mantis Bugtracker