Skip to content

Commit 15f4139

Browse files
committed
Fix type tooltips for string literals
1 parent 7797b47 commit 15f4139

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hackett-lib/hackett/private/base.rkt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@
321321
#:when (double-flonum? (syntax-e #'n))
322322
(attach-type #'(#%datum . n) (expand-type #'Double) #:tooltip-src #'n)]
323323
[(_ . s:str)
324-
(attach-type #'(#%datum . s) (expand-type #'String) #:tooltip-src #'n)]
324+
(attach-type #'(#%datum . s) (expand-type #'String) #:tooltip-src #'s)]
325325
[(_ . x)
326326
(raise-syntax-error #f "literal not supported" #'x)])
327327

0 commit comments

Comments
 (0)