feat: renamer maybe maybe maybe maybe
This commit is contained in:
8
src/main/wacc/Error.scala
Normal file
8
src/main/wacc/Error.scala
Normal 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)
|
||||
}
|
||||
Reference in New Issue
Block a user