summary refs log tree commit diff stats
path: root/tests/method/trecmeth.nim
diff options
context:
space:
mode:
authorMiran <narimiran@users.noreply.github.com>2018-10-16 10:50:10 +0200
committerAndreas Rumpf <rumpf_a@web.de>2018-10-16 10:50:10 +0200
commit749dbce4c69224f5464908d8f714291f17aa60fa (patch)
treecc91326ef536f15d8d9aa97efab4fc8473d093c7 /tests/method/trecmeth.nim
parentf04c93b5dd1ee5e185f6849ad8116d08a687026d (diff)
downloadNim-749dbce4c69224f5464908d8f714291f17aa60fa.tar.gz
Merge tests into a larger file (part 5 of ∞) (#9368)
* merge magics

* merge metatype tests

* merge method tests

* merge objects tests

* change `import future` to `import sugar`

Nim in Action tests are left with `import future`, to ensure compatibility.

* merge overload tests

* merge proc tests

* merge procvar tests

* merge range tests

* merge seq tests

* merge sets tests

* remove wrong assert from `tsets3`

* fix `jsTests`

* better fix
Diffstat (limited to 'tests/method/trecmeth.nim')
-rw-r--r--tests/method/trecmeth.nim22
1 files changed, 0 insertions, 22 deletions
diff --git a/tests/method/trecmeth.nim b/tests/method/trecmeth.nim
deleted file mode 100644
index ac0a1e977..000000000
--- a/tests/method/trecmeth.nim
+++ /dev/null
@@ -1,22 +0,0 @@
-# Note: We only compile this to verify that code generation
-# for recursive methods works, no code is being executed
-
-type
-  Obj = ref object of RootObj
-
-# Mutual recursion
-
-method alpha(x: Obj) {.base.}
-method beta(x: Obj) {.base.}
-
-method alpha(x: Obj) =
-  beta(x)
-
-method beta(x: Obj) =
-  alpha(x)
-
-# Simple recursion
-
-method gamma(x: Obj) {.base.} =
-  gamma(x)
-