Skip to content

Commit

Permalink
🐛 Fix compiler warnings
Browse files Browse the repository at this point in the history
semver: patch
  • Loading branch information
Somfic committed Jan 5, 2025
1 parent 087d5f7 commit 39594e1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
1 change: 0 additions & 1 deletion src/parser/ast/mod.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
use super::typechecker::environment::Environment;
use miette::SourceSpan;
use std::{borrow::Cow, fmt::Display};

Expand Down
7 changes: 4 additions & 3 deletions src/parser/typechecker/mod.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
use std::env;

use super::ast::{untyped, Type, TypeValue};
use crate::parser::ast::CombineSpan;
use environment::Environment;
Expand Down Expand Up @@ -126,7 +124,10 @@ impl<'ast> TypeChecker<'ast> {
self.check_statement(falsy, environment);
}
}
untyped::StatementValue::Trait { name, functions } => todo!(),
untyped::StatementValue::Trait {
name: _,
functions: _,
} => todo!(),
untyped::StatementValue::TypeAlias {
name,
explicit_type,
Expand Down

0 comments on commit 39594e1

Please sign in to comment.