mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-04 04:02:41 +00:00
* type annotations for variable tuple unpacking, better error messages closes #17989, closes https://github.com/nim-lang/RFCs/issues/339 * update grammar * fix test
4 lines
109 B
Nim
4 lines
109 B
Nim
var a, b = 0
|
|
(a, b) = 1 #[tt.Error
|
|
^ tuple expected for tuple unpacking, but got 'int literal(1)']#
|