diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2016-04-30 02:00:50 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2016-04-30 02:00:50 +0200 |
commit | c876b304ba72e93dac4737dd98f003f9ee94d9b8 (patch) | |
tree | acfdcc99fd4e1a40cd809a10415abde3ed7c2dc5 /tests/objects/tobject3.nim | |
parent | f348671ba7146420e1bfc7cd21ddc5464f0b9cb3 (diff) | |
download | Nim-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.nim | 2 |
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() |