Avoid computing type tooltips twice
The logging code in tc-toplevel.rkt is sufficient to get all the type tooltips. original commit: 17cafe652e13049fc05540c4ae2bd6f93559244d
This commit is contained in:
parent
086aac734b
commit
a8719e9823
|
@ -39,11 +39,9 @@
|
|||
;; add in syntax property on useless expression to draw check-syntax arrows
|
||||
[check-syntax-help (syntax-property
|
||||
(syntax-property
|
||||
(syntax-property
|
||||
#'(void)
|
||||
'disappeared-binding (disappeared-bindings-todo))
|
||||
'disappeared-use (disappeared-use-todo))
|
||||
'mouse-over-tooltips (type-table->tooltips))])
|
||||
#'(void)
|
||||
'disappeared-binding (disappeared-bindings-todo))
|
||||
'disappeared-use (disappeared-use-todo))])
|
||||
;; reconstruct the module with the extra code
|
||||
;; use the regular %#module-begin from `racket/base' for top-level printing
|
||||
(arm #`(#%module-begin #,before-code optimized-body ... #,after-code check-syntax-help)))))))]))
|
||||
|
|
Loading…
Reference in New Issue
Block a user