Typed modules as languages doesn't currently work.
This commit is contained in:
parent
cd03585521
commit
b6564980ab
11
collects/tests/typed-racket/xfail/typed-language-require.rkt
Normal file
11
collects/tests/typed-racket/xfail/typed-language-require.rkt
Normal file
|
@ -0,0 +1,11 @@
|
|||
#lang racket/load
|
||||
|
||||
(module m typed/racket
|
||||
(provide #%module-begin)
|
||||
(: f : Integer -> Integer)
|
||||
(define (f x) (add1 x))
|
||||
(provide add1 #%datum #%app f))
|
||||
|
||||
(module n 'm
|
||||
5
|
||||
(add1 (f 7)))
|
Loading…
Reference in New Issue
Block a user