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
14
tests/accept/run/tmultim3.nim
Normal file
14
tests/accept/run/tmultim3.nim
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
import mmultim3
|
||||
|
||||
type
|
||||
TBObj* = object of TObj
|
||||
|
||||
|
||||
method test123(a : ref TBObj) =
|
||||
echo("Hi derived!")
|
||||
|
||||
var a : ref TBObj
|
||||
new(a)
|
||||
myObj = a
|
||||
testMyObj()
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue