WIP type-checking -- check array subscript access
[tiger.ml.git] / compiler / src / lib / tiger / tiger_error.mli
index 81a87e8..92fde5d 100644 (file)
@@ -11,6 +11,7 @@ type t =
   | Id_not_a_function of {id    : Sym.t; pos : Pos.t}
   | No_such_field_in_record of {field : Sym.t; record : Typ.t; pos : Pos.t}
   | Exp_not_a_record  of {ty    : Typ.t; pos : Pos.t}
+  | Exp_not_an_array  of {ty    : Typ.t; pos : Pos.t}
   | Wrong_type of
       { expected : Typ.t
       ; given    : Typ.t
This page took 0.024041 seconds and 4 git commands to generate.