Open Mercerenies opened 3 years ago
Added a list of all error types. They will be checked off once they have satisfactory test coverage.
Removing NonFunctionMarkedAsBuiltin
, as we reverted that commit and went a different way. That error no longer exists.
This isn't exactly an issue, per se, but it is a testing lapse.
Going somewhat off of #45, I would like to have at least one test case for every type of error that can be produced by the system. Some errors, such as
ModifierError
types, are pretty well represented, all things considered, but several of the more obscure errors do not appear at all in test cases.ParseError
IOError
DottedListError
ArgListParseErrorF::InvalidArgument
ArgListParseErrorF::BadSelf
ArgListParseErrorF::UnknownDirective
ArgListParseErrorF::DirectiveOutOfOrder
ArgListParseErrorF::SimpleArgListExpected
ArgListParseErrorF::SimpleArgExpected
ArgListParseErrorF::ConstructorArgListExpected
ImportDeclParseError::NoFilename
ImportDeclParseError::BadFilename
ImportDeclParseError::InvalidPath
ImportDeclParseError::MalformedFunctionImport
ImportDeclParseError::InvalidEnding
CannotCall
WrongNumberArgs
InvalidArg
NoSuchVar
NoSuchFn
NoSuchEnumValue
NoSuchMagic
- Internal-only errorUnknownDecl
UnquoteOutsideQuasiquote
UnquoteSplicedOutsideQuasiquote
BadUnquoteSpliced
NoSuchFile
AmbiguousNamespace
NotConstantEnough
CannotAssignTo
CannotExtend
ExportOnInnerClassVar
InvalidImportOnResource
GodotServerError
StaticConstructor
StaticOnLambdaClass
ModifierParseErrorF::UniquenessError
ModifierParseErrorF::Expecting
ModifierParseErrorF::ExhaustedAlternatives
MacroInMinimalistError
- Internal-only errorMacroBeforeDefinitionError
DuplicateMainClass
ContextualFilenameUnresolved
- Internal-only errorDuplicateConstructor
DuplicateName
BadGetterArguments
BadSetterArguments
FieldAccessorConflict
BadSuperCall
BadExtendsClause
BadEnumClause
BadSysDeclare
UnknownImportedName
DuplicateNameConflictInMainClass
BadPreloadArgument
BadBootstrappingDirective
- Internal-only errorLoopPrimitiveError
(bothbreak
andcontinue
)ExprAtTopLevel
MinimalistAtRepl
CyclicImport
NullargsConstructor