diff options
author | Araq <rumpf_a@web.de> | 2012-07-11 00:10:24 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2012-07-11 00:10:24 +0200 |
commit | e2f8d912900e911d71a798a12eeb6eb2f587e16e (patch) | |
tree | 2f2998eb52b4aaafe9a40a7fd24de73b9065db5b /tests/compile | |
parent | 483f28d1cf4baedbce900bc8278e8508127351cc (diff) | |
download | Nim-e2f8d912900e911d71a798a12eeb6eb2f587e16e.tar.gz |
overloading resolution finally takes inheritance depth into account
Diffstat (limited to 'tests/compile')
-rwxr-xr-x | tests/compile/toop.nim | 6 |
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 |