Anonymous | Login | 02-28-2021 22:39 UTC |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | |||||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
0007262 | [Squeak] Network | minor | always | 01-06-09 15:11 | 08-21-10 09:47 | |||||||
Reporter | luki | View Status | public | |||||||||
Assigned To | cdegroot | |||||||||||
Priority | normal | Resolution | open | |||||||||
Status | assigned | Product Version | 3.10.2 | |||||||||
Summary | 0007262: UUID class>>fromString36: fails when reading a small value, e.g. nilUUID | |||||||||||
Description |
self shouldnt: [UUID fromString36: (UUID nilUUID asString36)] raise: Error. |
|||||||||||
Additional Information | UUID class>>fromString36: should use "num digitLength" instead of "num size" as #size fails when sent to SmallIntegers. | |||||||||||
Attached Files |
![]() ![]() |
|||||||||||
|
![]() |
|
(0013834 - 254 - 322 - 322 - 322 - 322 - 322) nicolas cellier 08-21-10 09:29 |
Good catch thank you! code could simply be: 1 to: (16 min: num digitLength) do: [:i | object at: i put: (num digitAt: i)]. but since (2 digitAt: 15) also works well, we can just say: 1 to: 16 do: [:i | object at: i put: (num digitAt: i)]. |
(0013835 - 162 - 168 - 318 - 318 - 318 - 318) nicolas cellier 08-21-10 09:47 |
Fixed in trunk http://source.squeak.org/trunk/SMBase-nice.112.mcz [^] I don't know where to load the tests yet, because they should belong to SM package (Squeak Map) |
Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
45 total queries executed. 32 unique queries executed. |