bugfix: finally sections are executed before return/break
This commit is contained in:
parent
0a57f662fa
commit
ea2306b301
6 changed files with 64 additions and 2 deletions
12
tests/accept/run/mmultim3.nim
Normal file
12
tests/accept/run/mmultim3.nim
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
type
|
||||
TObj* = object
|
||||
|
||||
var myObj* : ref TObj
|
||||
|
||||
method test123(a : ref TObj) =
|
||||
echo("Hi base!")
|
||||
|
||||
proc testMyObj*() =
|
||||
test123(myObj)
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue