Closed plt-amy closed 5 years ago
@SquidDev NonRecursiveRhs
is literally as far from a meaningful name as you can get—The error is for recursive rhs's!
Just keeping track of current progress as a shell script:
$ find doc/errors/ -type f -size -50c | sort
doc/errors/parser/0002.txt
doc/errors/parser/0003.txt
doc/errors/parser/0006.txt
doc/errors/parser/0007.txt
doc/errors/parser/0008.txt
doc/errors/resolve/1008.txt
doc/errors/resolve/1012.txt
doc/errors/resolve/1013.txt
doc/errors/types/2006.txt
doc/errors/types/2008.txt
doc/errors/types/2009.txt
doc/errors/types/2010.txt
doc/errors/types/2011.txt
doc/errors/types/2012.txt
doc/errors/types/2013.txt
doc/errors/types/2014.txt
doc/errors/types/2015.txt
doc/errors/types/2017.txt
doc/errors/types/2018.txt
doc/errors/types/2019.txt
doc/errors/types/2020.txt
doc/errors/types/2021.txt
doc/errors/types/2022.txt
doc/errors/types/2023.txt
doc/errors/types/2024.txt
doc/errors/types/2025.txt
doc/errors/types/2026.txt
doc/errors/types/2027.txt
doc/errors/types/2028.txt
doc/errors/types/2029.txt
doc/errors/types/2030.txt
doc/errors/types/2031.txt
doc/errors/types/2032.txt
doc/errors/types/2035.txt
doc/errors/types/2038.txt
doc/errors/types/2039.txt
doc/errors/verify/3001.txt
doc/errors/verify/3002.txt
doc/errors/verify/3003.txt
doc/errors/verify/3004.txt
doc/errors/verify/3005.txt
doc/errors/verify/3006.txt
doc/errors/verify/3007.txt
doc/errors/verify/3008.txt
doc/errors/verify/3009.txt
There's a couple within the parser which I may remove for now - there's a limited amount which can be said on "unexpected character" without making it incredibly general.
Here's what we're missing:
% find doc/errors/ -type f -size -50c | sort
doc/errors/parser/0002.txt
doc/errors/parser/0003.txt
doc/errors/parser/0006.txt
doc/errors/parser/0007.txt
doc/errors/parser/0008.txt
doc/errors/resolve/1008.txt
doc/errors/resolve/1012.txt
doc/errors/resolve/1013.txt
doc/errors/types/2008.txt
doc/errors/types/2013.txt -- This one is actually just really short
doc/errors/types/2028.txt
doc/errors/types/2029.txt
doc/errors/types/2030.txt
doc/errors/types/2031.txt
doc/errors/types/2032.txt
doc/errors/types/2035.txt
doc/errors/types/2038.txt
doc/errors/types/2039.txt
doc/errors/verify/3001.txt
doc/errors/verify/3002.txt
doc/errors/verify/3005.txt
doc/errors/verify/3006.txt
doc/errors/verify/3009.txt
I finished resolve and did one in verify:
doc/errors/parser/0002.txt
doc/errors/parser/0003.txt
doc/errors/parser/0006.txt
doc/errors/parser/0007.txt
doc/errors/parser/0008.txt
doc/errors/types/2008.txt
doc/errors/types/2013.txt
doc/errors/types/2028.txt
doc/errors/types/2029.txt
doc/errors/types/2030.txt
doc/errors/types/2031.txt
doc/errors/types/2032.txt
doc/errors/types/2035.txt
doc/errors/types/2038.txt
doc/errors/types/2039.txt
doc/errors/verify/3001.txt
doc/errors/verify/3002.txt
doc/errors/verify/3005.txt
doc/errors/verify/3006.txt
parser/0002.txt
--- Parser: UnexpectedCharacterparser/0003.txt
--- Parser: UnexpectedEndparser/0004.txt
--- Parser: UnclosedStringparser/0005.txt
--- Parser: UnclosedCommentparser/0006.txt
--- Parser: UnexpectedTokenparser/0007.txt
--- Parser: MalformedClassparser/0008.txt
--- Parser: MalformedInstanceparser/0009.txt
--- Parser: MisplacedWithparser/0010.txt
--- Parser: BindQualifiedparser/0011.txt
--- Parser: InvalidEscapeCodeparser/0012.txt
--- Parser: UnalignedInresolve/1001.txt
--- Resolver: NotInScoperesolve/1002.txt
--- Resolver: Ambiguousresolve/1003.txt
--- Resolver: NonLinearPatternresolve/1004.txt
--- Resolver: NonLinearRecordresolve/1006.txt
--- Resolver: EmptyBeginresolve/1007.txt
--- Resolver: IllegalMethodresolve/1008.txt
--- Resolver: LastStmtNotExprresolve/1009.txt
--- Resolver: LetOpenStructresolve/1010.txt
--- Resolver: UnresolvedImportresolve/1011.txt
--- Resolver: ImportLoopresolve/1012.txt
--- Resolver: TFClauseWrongHeadresolve/1013.txt
--- Resolver: TFClauseWrongAritytypes/2001.txt
--- TC: NotEqualtypes/2002.txt
--- TC: Occurstypes/2003.txt
--- TC: CustomTypeErrortypes/2004.txt
--- TC: NotInScopetypes/2005.txt
--- TC: FoundHoletypes/2006.txt
--- TC: Impredicativetypes/2007.txt
--- TC: ImpredicativeApptypes/2008.txt
--- TC: EscapedSkolemstypes/2009.txt
--- TC: SkolBindingtypes/2010.txt
--- TC: NoOverlaptypes/2011.txt
--- TC: CanNotInstancetypes/2012.txt
--- TC: Malformedtypes/2013.txt
--- TC: PatternRecursivetypes/2014.txt
--- TC: DeadBranchtypes/2015.txt
--- TC: AmbiguousTypetypes/2016.txt
--- TC: ValueRestrictiontypes/2017.txt
--- TC: AmbiguousMethodTytypes/2018.txt
--- TC: UnsatClassContypes/2019.txt
--- TC: ClassStackOverflowtypes/2020.txt
--- TC: WrongClasstypes/2021.txt
--- TC: Overlaptypes/2022.txt
--- TC: UndefinedMethodstypes/2023.txt
--- TC: UndefinedTyFamtypes/2024.txt
--- TC: TyFamLackingArgstypes/2025.txt
--- TC: MagicInstancetypes/2026.txt
--- TC: TypeFamInInstHeadtypes/2027.txt
--- TC: InvalidContexttypes/2028.txt
--- TC: OrphanInstancetypes/2029.txt
--- TC: NotAClasstypes/2030.txt
--- TC: CanNotVtatypes/2031.txt
--- TC: NotPromotabletypes/2032.txt
--- TC: WildcardNotAllowedtypes/2033.txt
--- TC: NotValuetypes/2034.txt
--- TC: UnsaturatedTStypes/2035.txt
--- TC: NotCoveredtypes/2036.txt
--- TC: MightNotTerminatetypes/2037.txt
--- TC: TyFunInLhsverify/3001.txt
--- Verify: NonRecursiveRhsverify/3002.txt
--- Verify: DefinedUnusedverify/3003.txt
--- Verify: ParseErrorInForeignverify/3004.txt
--- Verify: LazyLetverify/3005.txt
--- Verify: RedundantArmverify/3006.txt
--- Verify: MissingPatternverify/3007.txt
--- Verify: MatchToLetverify/3008.txt
--- Verify: MatchToFunverify/3009.txt
--- Verify: ToplevelRefBinding