[squeak-dev] LargeInteger parsing (?) broken between 5.2b and update 18615
tim at rowledge.org
Sat Jul 20 05:20:46 UTC 2019
Here's a strange bug that appears to have arrived between 5.2b and 18615.
In a scratch copy of a recent image, add this code to IntegerTest -
#(1 0 -1 2 -2 1073741823 -1073741824 10737418231073741823 "-10737418231073741823") do: [ :each |
self parse: each asString with: #parseIntegerLength: shouldGive: each ]
and compile it. Should be fine. don't worry about the #parse:with:shouldGive: - it's actually from PostGresV3 tests.
Now uncomment the last number in the list and try to compile it. Locks up on my Pi - so hard that cmd-. does nothing.
Works fine in a 5.2b image.
tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
Useful Latin Phrases:- Noli me vocare, ego te vocabo = Don't call me, I'll call you.
More information about the Squeak-dev