summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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()