fixes #12
This commit is contained in:
parent
4d5c3ebd46
commit
7d2b3dd6db
3 changed files with 54 additions and 61 deletions
10
tests/accept/run/tmethods1.nim
Normal file
10
tests/accept/run/tmethods1.nim
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
discard """
|
||||
output: "do nothing"
|
||||
"""
|
||||
|
||||
method somethin(obj: TObject) =
|
||||
echo "do nothing"
|
||||
|
||||
var o: TObject
|
||||
o.somethin()
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue