feat: renamer maybe maybe maybe maybe

This commit is contained in:
2025-02-04 22:26:38 +00:00
parent 5f7a89b47f
commit 06c8a069fb
5 changed files with 181 additions and 9 deletions

View File

@@ -0,0 +1,8 @@
package wacc
enum Error {
case DuplicateDeclaration(ident: ast.Ident)
case UndefinedIdentifier(ident: ast.Ident)
case FunctionParamsMismatch(expected: Int, got: Int)
case TypeMismatch(expected: types.SemType, got: types.SemType)
}