#34 Random >> #next: throws an error

已關閉
nero8 年之前創建 · 0 條評論

Originally at 2011-09-03T13:47:01Z by Bernat Romagosa closed at 2011-09-13T12:42:55Z

The method is missing parentheses around the interval, should look as follows:

Random >> next: anInteger

^(1 to: anInteger) collect: [:each | self next]
Originally at 2011-09-03T13:47:01Z by Bernat Romagosa closed at 2011-09-13T12:42:55Z The method is missing parentheses around the interval, should look as follows: Random >> next: anInteger ^(1 to: anInteger) collect: [:each | self next]
nero7 年之前 關閉
登入 才能加入這對話。
未選擇標籤
未選擇里程碑
未指派成員
1 參與者
正在加載...
取消
保存
尚未有任何內容