Fix type definitions for g1 & g2 elements.
This commit is contained in:
parent
825e65d7a3
commit
92488e535a
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue