toString

Bug #1593563 reported by saurus on 2016-06-17
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Retro
Medium
Unassigned

Bug Description

$ ./retro
Retro 11.7

ok : signStr ( n-ns ) dup 0 >= [ "+" ] [ "-" ] if ;
ok 1234
ok signStr
ok .s
<2> 1234 23158
ok puts +
ok .s
<1> 1234
ok toString
ok .s
<1> 15994
ok dup
ok puts 15994
ok putn 15994
ok

Kiyoshi YONEDA (kiyoneda) wrote :

should have used `tempString`

Changed in retro-language:
status: New → Invalid
Charles Childers (crc-x) on 2016-06-20
Changed in retro-language:
status: Invalid → Confirmed
Charles Childers (crc-x) wrote :

Given that the docstring doesn't mention a need to call tempString, it may be worth having toString call tempString automatically.

    ( n-$ ) Convert a number into a string

Charles Childers (crc-x) wrote :

I committed a fix in commit # 459.

Changed in retro-language:
status: Confirmed → Fix Committed
Charles Childers (crc-x) on 2016-06-20
Changed in retro-language:
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers