Skip to content

Commit

Permalink
forgot to make the fields of the GenericsDeclaration public
Browse files Browse the repository at this point in the history
  • Loading branch information
JCBurnside committed Feb 27, 2024
1 parent 958f7b9 commit 966477b
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions compiler/src/typed_ast.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@ use std::{
};

use crate::{
inference::ast::{self, ArgDeclaration, Declaration, Expr},
inference::ast::{self, Declaration, Expr},
types::{self, FloatWidth, IntWidth, ResolvedType},
util::ExtraUtilFunctions,
};

pub use crate::inference::ast::ArgDeclaration;

pub type FileTyped = TypedModuleDeclaration;
pub type ProgramTyped = Vec<FileTyped>;
#[derive(Debug, PartialEq, Clone)]
Expand Down Expand Up @@ -110,8 +112,8 @@ impl TypedModuleDeclaration {

#[derive(Debug,PartialEq,Clone)]
pub struct ResolvedGenericsDecl {
for_loc : crate::Location,
decls : Vec<(crate::Location,ResolvedType)>
pub for_loc : crate::Location,
pub decls : Vec<(crate::Location,ResolvedType)>
}

impl ResolvedGenericsDecl {
Expand Down

0 comments on commit 966477b

Please sign in to comment.