Mantis - Squeak
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
6353 | Collections | minor | always | 03-21-07 12:01 | 03-21-07 14:42 |
|
|||||
Reporter: | Damien Cassou | Platform: | |||
Assigned To: | OS: | ||||
Priority: | normal | OS Version: | |||
Status: | new | Product Version: | 3.9 | ||
Product Build: | Resolution: | open | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | |||
|
|||||
Summary: | 0006353: PositionnableStream>>skip: not standard | ||||
Description: |
In the standard, #skip: should explicetly not raise an error if #skip: would go after the end. It is said that "A number of objects equal to the lesser of amount and the size of the receiver's future sequence values are removed..." The current implementation raises an error. Do we choose the current implementation our the standard ? If you have other Smalltalk implementations at hand, what did they choose ? Attached file is a test for the ANSI behavior. |
||||
Steps To Reproduce: |
Code: (ReadStream on: 'test') skip: 6 |
||||
Additional Information: | |||||
Relationships | |||||
Attached Files: |
![]() |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|