Expr::parse_geometric_type should handle updated TypedString

This commit is contained in:
Joshua McQuistan 2025-07-02 14:26:50 +01:00
parent e616a1c47c
commit 30202109ac

View file

@ -1708,10 +1708,9 @@ impl<'a> Parser<'a> {
}
fn parse_geometric_type(&mut self, kind: GeometricTypeKind) -> Result<Expr, ParserError> {
let value: Value = self.parse_value()?.value;
Ok(Expr::TypedString {
data_type: DataType::GeometricType(kind),
value,
value: self.parse_value()?,
})
}