Number>>#timesRepeat: implementation is not faithful to Smalltalk language spec

51 views
Skip to first unread message

Richard Sargent

unread,
Aug 9, 2019, 5:04:12 PM8/9/19
to VA Smalltalk
1000000 timesRepeat: [12 factorial]

According to the code shown in the browser, the above expression should answer the receiver. It answers zero, instead.

(I realize the implementation is optimized by the compiler. It should still execute as if the Smalltalk code shown was being executed.)

It is probably easiest to change the putative Smalltalk code.

Seth Berman

unread,
Aug 9, 2019, 5:14:11 PM8/9/19
to VA Smalltalk
Thanks Richard...we'll take a look

- Seth

Seth Berman

unread,
Sep 13, 2019, 3:10:33 PM9/13/19
to VA Smalltalk
Hi Richard,

This has been integrated and will be in 9.2.
Thanks!

- Seth
Reply all
Reply to author
Forward
0 new messages