feat: implement bls primitives in code gen
This commit is contained in:
@@ -66,7 +66,7 @@ pub fn value() -> impl Parser<Token, ast::Constant, Error = ParseError> {
|
||||
|
||||
ast::Constant::CurvePoint {
|
||||
location,
|
||||
point: ast::Curve::Bls12_381(point),
|
||||
point: ast::Curve::Bls12_381(point).into(),
|
||||
preferred_format,
|
||||
}
|
||||
}
|
||||
|
||||
@@ -27,7 +27,7 @@ pub fn parser() -> impl Parser<Token, UntypedExpr, Error = ParseError> {
|
||||
|
||||
UntypedExpr::CurvePoint {
|
||||
location,
|
||||
point: ast::Curve::Bls12_381(point),
|
||||
point: ast::Curve::Bls12_381(point).into(),
|
||||
preferred_format,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user