We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d3bc4f5 commit 8b1051eCopy full SHA for 8b1051e
lib/Parse/ParseDecl.cpp
@@ -307,8 +307,7 @@ void Parser::parseTopLevelItems(SmallVectorImpl<ASTNode> &items) {
307
// Perform round-trip and/or validation checking.
308
if ((Context.LangOpts.hasFeature(Feature::ParserRoundTrip) ||
309
Context.LangOpts.hasFeature(Feature::ParserValidation)) &&
310
- SF.exportedSourceFile &&
311
- !L->lexingCutOffOffset()) {
+ SF.exportedSourceFile) {
312
if (Context.LangOpts.hasFeature(Feature::ParserRoundTrip) &&
313
swift_ASTGen_roundTripCheck(SF.exportedSourceFile)) {
314
SourceLoc loc;
0 commit comments