summary refs log tree commit diff stats
path: root/tests/compile
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2012-07-11 00:10:24 +0200
committerAraq <rumpf_a@web.de>2012-07-11 00:10:24 +0200
commite2f8d912900e911d71a798a12eeb6eb2f587e16e (patch)
tree2f2998eb52b4aaafe9a40a7fd24de73b9065db5b /tests/compile
parent483f28d1cf4baedbce900bc8278e8508127351cc (diff)
downloadNim-e2f8d912900e911d71a798a12eeb6eb2f587e16e.tar.gz
overloading resolution finally takes inheritance depth into account
Diffstat (limited to 'tests/compile')
-rwxr-xr-xtests/compile/toop.nim6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/compile/toop.nim b/tests/compile/toop.nim
index db6d9e595..5999a8073 100755
--- a/tests/compile/toop.nim
+++ b/tests/compile/toop.nim
@@ -1,5 +1,5 @@
 discard """
-  disabled: true
+  output: "b"
 """
 
 type
@@ -12,8 +12,8 @@ type
   TC = object of TB
     whatever: string
   
-proc p(a: var TA) = nil
-proc p(b: var TB) = nil
+proc p(a: var TA) = echo "a"
+proc p(b: var TB) = echo "b"
 
 var c: TC