Fix type definitions for g1 & g2 elements.
This commit is contained in:
@@ -128,7 +128,7 @@ pub fn prelude(id_gen: &IdGenerator) -> TypeInfo {
|
|||||||
G1_ELEMENT.to_string(),
|
G1_ELEMENT.to_string(),
|
||||||
TypeConstructor {
|
TypeConstructor {
|
||||||
parameters: vec![],
|
parameters: vec![],
|
||||||
tipo: int(),
|
tipo: g1_element(),
|
||||||
location: Span::empty(),
|
location: Span::empty(),
|
||||||
module: "".to_string(),
|
module: "".to_string(),
|
||||||
public: true,
|
public: true,
|
||||||
@@ -140,7 +140,7 @@ pub fn prelude(id_gen: &IdGenerator) -> TypeInfo {
|
|||||||
G2_ELEMENT.to_string(),
|
G2_ELEMENT.to_string(),
|
||||||
TypeConstructor {
|
TypeConstructor {
|
||||||
parameters: vec![],
|
parameters: vec![],
|
||||||
tipo: int(),
|
tipo: g2_element(),
|
||||||
location: Span::empty(),
|
location: Span::empty(),
|
||||||
module: "".to_string(),
|
module: "".to_string(),
|
||||||
public: true,
|
public: true,
|
||||||
|
|||||||
Reference in New Issue
Block a user