summary refs log tree commit diff stats
path: root/tests/method/tmethods1.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2014-02-17 23:59:48 +0100
committerAraq <rumpf_a@web.de>2014-02-17 23:59:48 +0100
commit9b63fccf16048121d79fc825107ea7433faa25e7 (patch)
tree7786c489c36b5ba58d90ab4d52a798c0362fed12 /tests/method/tmethods1.nim
parent420d4197f139c277f7b7d0eaf462ed0fe9e00745 (diff)
parenteaab22089da855163485949d8bd6a6ae9c1d25c8 (diff)
downloadNim-9b63fccf16048121d79fc825107ea7433faa25e7.tar.gz
Merge branch 'devel' of https://github.com/Araq/Nimrod into devel
Diffstat (limited to 'tests/method/tmethods1.nim')
-rw-r--r--tests/method/tmethods1.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/method/tmethods1.nim b/tests/method/tmethods1.nim
index f4add6af4..43a260bca 100644
--- a/tests/method/tmethods1.nim
+++ b/tests/method/tmethods1.nim
@@ -14,8 +14,8 @@ type
   TSomethingElse = object 
   PSomethingElse = ref TSomethingElse
 
-method foo(a: PNode, b: PSomethingElse) = nil
-method foo(a: PNodeFoo, b: PSomethingElse) = nil
+method foo(a: PNode, b: PSomethingElse) = discard
+method foo(a: PNodeFoo, b: PSomethingElse) = discard
 
 var o: TObject
 o.somethin()