This reverts commit 5f0c520489.
This commit is contained in:
parent
5f0c520489
commit
97f51ed7c2
3 changed files with 1 additions and 27 deletions
|
|
@ -107,8 +107,6 @@ sink
|
|||
destroy
|
||||
copy
|
||||
destroy
|
||||
(f: 1)
|
||||
destroy
|
||||
'''
|
||||
"""
|
||||
|
||||
|
|
@ -772,15 +770,3 @@ proc pair(): tuple[a: C, b: C] =
|
|||
|
||||
discard pair()
|
||||
|
||||
|
||||
# bug #17450
|
||||
proc noConsume(x: OO) {.nosinks.} = echo x
|
||||
|
||||
proc main3 =
|
||||
var i = 1
|
||||
noConsume:
|
||||
block:
|
||||
OO(f: i)
|
||||
|
||||
main3()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue