-
Notifications
You must be signed in to change notification settings - Fork 392
Closed
Labels
A-testsArea: affects our test suite or CIArea: affects our test suite or CIC-enhancementCategory: a PR with an enhancement or an issue tracking an accepted enhancementCategory: a PR with an enhancement or an issue tracking an accepted enhancementC-projectCategory: a larger project is being tracked here, usually with checkmarks for individual stepsCategory: a larger project is being tracked here, usually with checkmarks for individual steps
Description
Currently, if we fail to parse a //~
line or an annotation like // ignore-target
, we just go on. That's a pretty bad default for infrastructure that is meant to test our code! For both of these I think we should hard error if we cannot parse the line.
For //~
that is fairly easy; if any comment starting //~
eludes us we can just error.
For the other annotations it is a lot harder since that might just be a regular comment. I think we need to change their syntax so that we can tell that this line is meant to be special. //@
might work? We should ideally sync this with compiletest, in case they have similar plans.
Metadata
Metadata
Assignees
Labels
A-testsArea: affects our test suite or CIArea: affects our test suite or CIC-enhancementCategory: a PR with an enhancement or an issue tracking an accepted enhancementCategory: a PR with an enhancement or an issue tracking an accepted enhancementC-projectCategory: a larger project is being tracked here, usually with checkmarks for individual stepsCategory: a larger project is being tracked here, usually with checkmarks for individual steps