File tree Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -2854,8 +2854,7 @@ impl<'a> Parser<'a> {
2854
2854
fn parse_duckdb_struct_literal(&mut self) -> Result<Expr, ParserError> {
2855
2855
self.expect_token(&Token::LBrace)?;
2856
2856
2857
- let fields =
2858
- self.parse_comma_separated0(Self::parse_duckdb_dictionary_field, Token::RBrace)?;
2857
+ let fields = self.parse_comma_separated(Self::parse_duckdb_dictionary_field)?;
2859
2858
2860
2859
self.expect_token(&Token::RBrace)?;
2861
2860
Original file line number Diff line number Diff line change @@ -11291,8 +11291,6 @@ fn test_dictionary_syntax() {
11291
11291
) ;
11292
11292
}
11293
11293
11294
- check ( "{}" , Expr :: Dictionary ( vec ! [ ] ) ) ;
11295
-
11296
11294
check (
11297
11295
"{'Alberta': 'Edmonton', 'Manitoba': 'Winnipeg'}" ,
11298
11296
Expr :: Dictionary ( vec ! [
You can’t perform that action at this time.
0 commit comments