Skip to content

Commit 3020210

Browse files
committed
Expr::parse_geometric_type should handle updated TypedString
1 parent e616a1c commit 3020210

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/parser/mod.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1708,10 +1708,9 @@ impl<'a> Parser<'a> {
17081708
}
17091709

17101710
fn parse_geometric_type(&mut self, kind: GeometricTypeKind) -> Result<Expr, ParserError> {
1711-
let value: Value = self.parse_value()?.value;
17121711
Ok(Expr::TypedString {
17131712
data_type: DataType::GeometricType(kind),
1714-
value,
1713+
value: self.parse_value()?,
17151714
})
17161715
}
17171716

0 commit comments

Comments
 (0)