Remove expr/stmt (#5857)
This commit is contained in:
parent
52ff244d5d
commit
000b8afd26
168 changed files with 497 additions and 529 deletions
|
|
@ -10,7 +10,7 @@ A'''
|
|||
|
||||
# bug #1742
|
||||
|
||||
template test(): expr =
|
||||
template test(): untyped =
|
||||
let a = 0
|
||||
defer: echo "hi"
|
||||
a
|
||||
|
|
@ -29,7 +29,7 @@ template atFuncEnd =
|
|||
defer:
|
||||
echo "B"
|
||||
|
||||
template testB(): expr =
|
||||
template testB(): untyped =
|
||||
let a = 0
|
||||
defer: echo "hi" # Delete this line to make it work
|
||||
a
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue