Fix #5888
This commit is contained in:
parent
a6006e56a7
commit
21ce7b2af4
6 changed files with 43 additions and 2 deletions
4
tests/concepts/t5888lib/ca.nim
Normal file
4
tests/concepts/t5888lib/ca.nim
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
type
|
||||
CA* = concept c
|
||||
c.x is int
|
||||
|
||||
6
tests/concepts/t5888lib/opt.nim
Normal file
6
tests/concepts/t5888lib/opt.nim
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
import ca
|
||||
|
||||
type
|
||||
Opt* = object
|
||||
x*: int
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue