Skip to content

Commit

Permalink
Add current module source location to tooltip stxobj.
Browse files Browse the repository at this point in the history
  • Loading branch information
samth committed Nov 9, 2023
1 parent 7054dac commit 351c383
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion typed-racket-lib/typed-racket/typecheck/tc-toplevel.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,8 @@
(log-message online-check-syntax-logger
'info
"TR's tooltip syntaxes; this message is ignored"
(list (syntax-property #'(void) 'mouse-over-tooltips (type-table->tooltips))))
(list (syntax-property (datum->syntax #'here '(void) (orig-module-stx))
'mouse-over-tooltips (type-table->tooltips))))
;; report delayed errors
(report-all-errors)
;; provide-tbl : hash[id, listof[id]]
Expand Down

0 comments on commit 351c383

Please sign in to comment.