diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2017-11-07 11:17:20 +0100 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2017-11-07 11:17:20 +0100 |
commit | 617ba1a2094f75b584e188d7a79bfdf9a43ed53d (patch) | |
tree | 10ea177d0b0805a1dae84f1c981c718deac2b973 /tests/concepts | |
parent | eadba5a3457d1f4d55585d5b9938a2c37c66f165 (diff) | |
parent | 4dad120d47e5b2654a6e0728d5d387b59aed66aa (diff) | |
download | Nim-617ba1a2094f75b584e188d7a79bfdf9a43ed53d.tar.gz |
Merge branch 'devel' into araq
Diffstat (limited to 'tests/concepts')
-rw-r--r-- | tests/concepts/tinfrecursion.nim | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/concepts/tinfrecursion.nim b/tests/concepts/tinfrecursion.nim new file mode 100644 index 000000000..60db410de --- /dev/null +++ b/tests/concepts/tinfrecursion.nim @@ -0,0 +1,13 @@ + +# 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 |