Fix type definitions for g1 & g2 elements.

This commit is contained in:
KtorZ 2023-12-08 16:58:12 +01:00
parent 825e65d7a3
commit 92488e535a
No known key found for this signature in database
GPG Key ID: 33173CB6F77F4277
1 changed files with 2 additions and 2 deletions

View File

@ -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,