mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Enable valid-parse checking with the new parser
Ensure that any time the existing parser accepts a source file, the new parser produces a valid parse (no unexpected/missing nodes) for that same source file.
This commit is contained in:
@@ -33,6 +33,7 @@ LangOptions::LangOptions() {
|
||||
// Note: Introduce default-on language options here.
|
||||
#ifndef NDEBUG
|
||||
Features.insert(Feature::ParserRoundTrip);
|
||||
Features.insert(Feature::ParserValidation);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user