mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-04 12:07:51 +00:00
14 lines
174 B
Nim
14 lines
174 B
Nim
|
|
# bug #6691
|
|
type
|
|
ConceptA = concept c
|
|
|
|
ConceptB = concept c
|
|
c.myProc(ConceptA)
|
|
|
|
Obj = object
|
|
|
|
proc myProc(obj: Obj, x: ConceptA) = discard
|
|
|
|
echo Obj is ConceptB
|