Fix tooltip test/contracts for TR contract mode
original commit: 6c9172f50f390032dd4da914eb1f66af4c0fa554
This commit is contained in:
parent
9243ac154c
commit
9c4a8d0b62
|
@ -19,7 +19,8 @@
|
|||
[add-typeof-expr (syntax? tc-results/c . -> . any/c)]
|
||||
[type-of (syntax? . -> . tc-results/c)]
|
||||
[reset-type-table (-> any/c)]
|
||||
[type-table->tooltips (-> (listof (vector/c any/c integer? integer? string?)))]
|
||||
[type-table->tooltips
|
||||
(-> (listof (vector/c any/c integer? integer? (or/c string? (-> string?)))))]
|
||||
[test-position-add-true (syntax? . -> . any)]
|
||||
[test-position-add-false (syntax? . -> . any)]
|
||||
[test-position-takes-true-branch (syntax? . -> . boolean?)]
|
||||
|
|
|
@ -51,7 +51,9 @@
|
|||
[else
|
||||
(define stxs (vector-ref result 2))
|
||||
(define tooltips
|
||||
(syntax-property (car stxs) 'mouse-over-tooltips))
|
||||
(and (list? stxs)
|
||||
(syntax? (car stxs))
|
||||
(syntax-property (car stxs) 'mouse-over-tooltips)))
|
||||
(if tooltips
|
||||
(and (pred tooltips)
|
||||
(unique-locations? tooltips))
|
||||
|
|
Loading…
Reference in New Issue
Block a user