close #9691 and close #10913('spawn'ed function cannot have a 'typed' or 'untyped' parameter) (#17775)
This commit is contained in:
parent
54fe44135e
commit
c776498170
3 changed files with 40 additions and 1 deletions
9
tests/parallel/t9691.nim
Normal file
9
tests/parallel/t9691.nim
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
discard """
|
||||
matrix: "--threads:on"
|
||||
errormsg: "'spawn'ed function cannot have a 'typed' or 'untyped' parameter"
|
||||
"""
|
||||
|
||||
# bug #9691
|
||||
|
||||
import threadpool
|
||||
spawn echo()
|
||||
Loading…
Add table
Add a link
Reference in a new issue