Closed sorawee closed 1 year ago
I added some code that woudl wait 10 seconds and then break the thread that's working and this is the stacktrace I get:
user break
context...:
/Users/robby/git/plt/racket/share/pkgs/typed-racket-lib/typed-racket/types/printer.rkt:69:0: has-name?
.../match/compiler.rkt:548:40: f1805
.../private/map.rkt:40:19: loop
.../match/compiler.rkt:548:40: f1778
.../private/map.rkt:40:19: loop
/Users/robby/git/plt/racket/share/pkgs/typed-racket-lib/typed-racket/types/printer.rkt:354:0: arr->sexp
.../private/map.rkt:40:19: loop
.../match/compiler.rkt:548:40: f1778
.../private/map.rkt:40:19: loop
/Users/robby/git/plt/racket/share/pkgs/typed-racket-lib/typed-racket/types/printer.rkt:354:0: arr->sexp
.../private/map.rkt:40:19: loop
.../match/compiler.rkt:548:40: f1778
.../private/map.rkt:40:19: loop
/Users/robby/git/plt/racket/share/pkgs/typed-racket-lib/typed-racket/types/printer.rkt:354:0: arr->sexp
.../private/map.rkt:40:19: loop
.../match/compiler.rkt:548:40: f1778
...
Does this ring any bells @samth ?
Yeah that looks like an infinite loop in the printer.
Most likely printing a recursive #:prefab
type tries to print the type again.
Changing the last line to (S 1)
causes expansion (not just background expansion) to fail to terminate. I think the original program is diverging when trying to produce tooltips.
fails with:
Reported by user CalvinX on Discord.