Fix type of gensym.

(cherry picked from commit c070aaecda)
This commit is contained in:
Vincent St-Amour 2013-06-07 12:09:30 -04:00 committed by Ryan Culpepper
parent fe96ba1516
commit a45716f16e
2 changed files with 2 additions and 1 deletions

View File

@ -1086,6 +1086,7 @@
(tc-e (symbol-interned? (string->unreadable-symbol "bar")) B)
(tc-e (symbol-interned? (string->uninterned-symbol "bar")) B)
(tc-e (symbol-interned? (gensym 'foo)) B)
(tc-e (symbol-interned? (gensym "foo")) B)
(tc-e (symbol-unreadable? (gensym)) B)
(tc-e (symbol-unreadable? 'foo) B)

View File

@ -389,7 +389,7 @@
[string->symbol (-String . -> . Sym)]
[string->uninterned-symbol (-String . -> . Sym)]
[string->unreadable-symbol (-String . -> . Sym)]
[gensym (->opt [Sym] Sym)]
[gensym (->opt [(Un Sym -String)] Sym)]