Add a test for module references inside type expressions
This commit is contained in:
parent
0d5c791a70
commit
404ac83101
1 changed files with 10 additions and 0 deletions
|
@ -185,3 +185,13 @@ let foo_1 : (Int, Int, Int) = (1, 2, 3)
|
|||
let foo_2 : (Int, Int, Int) = (1, 2, "foo")
|
||||
```
|
||||
|
||||
## Module references work
|
||||
|
||||
```
|
||||
mod CD.
|
||||
mod A.
|
||||
struct Foo
|
||||
mod B.
|
||||
let alpha: A.Foo
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in a new issue