Fix dict spreading in dict literal

This commit is contained in:
harupy 2023-01-15 13:01:59 +09:00
parent ac4d3c076c
commit 581f6e176c
4 changed files with 124 additions and 37 deletions

View file

@ -195,7 +195,7 @@ pub enum ExprKind<U = ()> {
orelse: Box<Expr<U>>,
},
Dict {
keys: Vec<Expr<U>>,
keys: Vec<Option<Expr<U>>>,
values: Vec<Expr<U>>,
},
Set {