Nested unit fails with "missing type for `check-unit`"
Open
@dfeltey is already working on this.
Since Apr 30, 2017.
- Dominant language
- Racket
- Stars
- 575
- Forks
- 106
- Avg merge
- 2h 1m
- Merged PRs (30d)
- 2
Description
What version of Racket are you using?
v6.9.0.1
What program did you run?
#lang typed/racket/base
(require typed/racket/unit)
(define-unit a@
(import)
(export)
(define-unit b@
(import)
(export))
(define-values/invoke-unit/infer b@))
What should have happened?
Program ok
If you got an error message, please include it here.
; Type Checker: missing type for identifier;
; consider using `require/typed' to import it
; identifier: check-unit
; from module: private/unit-runtime.rkt
; in: b@
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.