repositories
/
cc1516.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'generation'
[cc1516.git]
/
sem.dcl
diff --git
a/sem.dcl
b/sem.dcl
index
e981361
..
08d8c8d
100644
(file)
--- a/
sem.dcl
+++ b/
sem.dcl
@@
-6,12
+6,6
@@
from AST import :: AST, :: Pos, :: Type, :: FieldSelector, :: Op2
from StdOverloaded import class toString
:: SemError
from StdOverloaded import class toString
:: SemError
- = ParseError Pos String
- | UnifyError Pos Type Type
- | FieldSelectorError Pos Type FieldSelector
- | OperatorError Pos Op2 Type
- | UndeclaredVariableError Pos String
- | Error String
:: Gamma
:: SemOutput :== Either [SemError] (AST, Gamma)
:: Gamma
:: SemOutput :== Either [SemError] (AST, Gamma)