mirror of
https://github.com/nim-lang/Nim.git
synced 2026-07-28 03:16:32 +00:00
round out tuple unpacking assignment, support underscores (#22537)
* round out tuple unpacking assignment, support underscores
fixes #18710
* fix test messages
* use discard instead of continue
Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
---------
Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
(cherry picked from commit 53d43e9671)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
discard """
|
||||
errormsg: "invalid type: 'empty' in this context: '(seq[empty], (seq[empty], set[empty]))' for let"
|
||||
errormsg: "cannot infer the type of the tuple"
|
||||
file: "tassignemptytuple.nim"
|
||||
line: 11
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user