type errorCode int
+// TODO(rFindley): ensure that existing error codes do not change in the
+// dev.typeparams branch.
+
// This file defines the error codes that can be produced during type-checking.
// Collectively, these codes provide an identifier that may be used to
// implement special handling for certain types of errors.
// }
_InvalidGo
+ // _BadDecl occurs when a declaration has invalid syntax.
+ _BadDecl
+
// _Todo is a placeholder for error codes that have not been decided.
// TODO(rFindley) remove this error code after deciding on errors for generics code.
_Todo