in stepper/private/annotate.rkt:
- add cases to annotate/top-level to recognize Lazy Racket programs
This commit is contained in:
parent
da456f2e37
commit
ca4ea39123
|
@ -1189,6 +1189,10 @@
|
|||
(#%plain-lambda () . rest2)
|
||||
(#%plain-lambda () . rest3)))
|
||||
exp]
|
||||
; STC: for lazy
|
||||
[(#%plain-app . terms) (annotate/module-top-level exp)]
|
||||
; STC: for lazy, handle defines
|
||||
[(define-values (ids ...) bodies) (annotate/module-top-level exp)]
|
||||
[else
|
||||
(error `annotate/top-level "unexpected top-level expression: ~a\n"
|
||||
(syntax->datum exp))
|
||||
|
|
Loading…
Reference in New Issue
Block a user