summary refs log tree commit diff stats
path: root/tests/objects/tobject3.nim
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2016-04-30 02:00:50 +0200
committerAndreas Rumpf <rumpf_a@web.de>2016-04-30 02:00:50 +0200
commitc876b304ba72e93dac4737dd98f003f9ee94d9b8 (patch)
treeacfdcc99fd4e1a40cd809a10415abde3ed7c2dc5 /tests/objects/tobject3.nim
parentf348671ba7146420e1bfc7cd21ddc5464f0b9cb3 (diff)
downloadNim-c876b304ba72e93dac4737dd98f003f9ee94d9b8.tar.gz
make test green again (code was wrong, but not detected by compiler)
Diffstat (limited to 'tests/objects/tobject3.nim')
-rw-r--r--tests/objects/tobject3.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/objects/tobject3.nim b/tests/objects/tobject3.nim
index 2d9c8d023..15dd8ea24 100644
--- a/tests/objects/tobject3.nim
+++ b/tests/objects/tobject3.nim
@@ -49,7 +49,7 @@ proc makeDesktop(): PDesktop = new(TDesktop)
 
 proc makeWindow(): PWindow = new(TWindow)
 
-proc thisCausesError(a: var PView, b: PView) =
+proc thisCausesError(a: PView, b: PView) =
   discard
 
 var dd = makeDesktop()