more checking for 'var T' as return type; refs #7373
This commit is contained in:
parent
88d8a14fb4
commit
6f747674be
4 changed files with 50 additions and 3 deletions
|
|
@ -1,7 +1,7 @@
|
|||
discard """
|
||||
file: "tvarres1.nim"
|
||||
line: 12
|
||||
errormsg: "address of 'bla' may not escape its stack frame"
|
||||
errormsg: "'bla' escapes its stack frame; context: 'bla'"
|
||||
"""
|
||||
|
||||
var
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue