Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0003490 [Squeak 3.8] Collections tweak always 04-21-06 03:37 04-25-06 14:37
Reporter black View Status public  
Assigned To
Priority normal Resolution open  
Status new  
Summary 0003490: Printing of non-literal arrays is broken
Description Changes the way that arrays are printed. If the elements of the array are not all literals, this changeset prints them with { . } notation rather than with #( ) notation. This is because the #( ) notation is misleading, i.e., wrong: it will not evaluate to the reciever.

The way that arrays are printed has been changed in 3.9, but the new implementation misses the fact that Fractions are selfEvaluating.
Additional Information
Attached Files  array printing.3.cs [^] (1,209 bytes) 04-21-06 03:37
 ArrayTest.1.cs [^] (620 bytes) 04-23-06 08:13

- Relationships

- Notes
(0004775 - 31 - 31 - 31 - 31 - 31 - 31)
ducasse
04-22-06 13:45

Andrew do you have a nice test?
 
(0004778 - 253 - 253 - 381 - 381 - 381 - 381)
black
04-23-06 08:18

I have just uploaded a test. To be clear, the problem that I address here has actually addressed more completely in 3.9, where there are THREE different ways of printing arrays. (See also my bug report on that, http://bugs.impara.de/view.php?id=3492). [^]
 
(0004805 - 65 - 65 - 65 - 65 - 65 - 65)
MarcusDenker
04-25-06 14:37

I added the test to 3.9, too. I will move this over to 3.8 mantis
 

- Issue History
Date Modified Username Field Change
04-21-06 03:37 black New Issue
04-21-06 03:37 black File Added: array printing.3.cs
04-22-06 13:45 ducasse Note Added: 0004775
04-22-06 13:48 ducasse Note Added: 0004776
04-22-06 13:53 ducasse Note Deleted: 0004776
04-23-06 08:13 black File Added: ArrayTest.1.cs
04-23-06 08:18 black Note Added: 0004778
04-25-06 14:37 MarcusDenker Note Added: 0004805
04-25-06 14:37 MarcusDenker Issue Monitored: MarcusDenker
04-25-06 14:37 MarcusDenker Project Squeak => Squeak 3.8


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