summary refs log tree commit diff stats
path: root/tests/errmsgs/tassignunpack.nim
blob: 27413a42b697fbf045e42e4f485164902549f0b8 (plain) (blame)
1
2
3
var a, b = 0
(a, b) = 1 #[tt.Error
         ^ type mismatch: got <int literal(1)> but expected 'tuple']#