- changed status to resolved
Modifying string returned from symbol->string shouldn't affect original symbol
Issue #168
resolved
This shouldn't return 'b
(define s (string #\a))
(define sm (string->symbol s))
(string-set! (symbol->string sm) 0 #\b)
(print sm)
Comments (1)
-
reporter - Log in to comment
Making copied string for symbol literal (Fixes
#168)→ <<cset 0cd94e6fabe4>>