Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000180 [Squeak] Compiler minor always 09-23-04 22:29 07-28-05 08:29
Reporter MarcusDenker View Status public  
Assigned To
Priority normal Resolution open  
Status closed   Product Version
Summary 0000180: Scanner class>>isLiteralSymbol: mistakenly returns true for #'--'
Description #-- yields a syntax error, but #'--' is okay.
However, "'--' asSymbol printString" yields #--,
instead of #'--'.


Test1 (fails now, but should pass):

    Compiler evaluate: '--' asSymbol printString


Test2 (passes now, and should continue to pass):

    Compiler evaluate: '-' asSymbol printString
Additional Information
Attached Files  Scanner class-isLiteralSymbol.st.gz [^] (605 bytes) 02-24-05 22:31

- Relationships

- Notes
(0001172 - 250 - 265 - 265 - 265 - 265 - 265)
ohshima
02-24-05 22:32

I'm not sure the effect of the proposed patch fully, but I don't see any reason to treat the vartical bar and colon character differently from other binary symbols, as effectively there is only one sender in the image (Symbol>storeOn:).

-- Yoshiki
 
(0002003 - 12 - 12 - 12 - 12 - 12 - 12)
MarcusDenker
07-28-05 08:27

fixed in 3.9
 

- Issue History
Date Modified Username Field Change
09-23-04 22:29 MarcusDenker New Issue
02-24-05 22:31 ohshima File Added: Scanner class-isLiteralSymbol.st.gz
02-24-05 22:32 ohshima Note Added: 0001172
02-25-05 02:01 ohshima Status new => acknowledged
07-28-05 08:26 MarcusDenker Status acknowledged => closed
07-28-05 08:27 MarcusDenker Note Added: 0002003


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