diff --git a/lib/ASTGen/Sources/ASTGen/SourceFile.swift b/lib/ASTGen/Sources/ASTGen/SourceFile.swift index e74fc16ef7b2e..f81189dd1a9f2 100644 --- a/lib/ASTGen/Sources/ASTGen/SourceFile.swift +++ b/lib/ASTGen/Sources/ASTGen/SourceFile.swift @@ -77,6 +77,8 @@ extension Parser.ExperimentalFeatures { mapFeature(.CoroutineAccessors, to: .coroutineAccessors) mapFeature(.ValueGenerics, to: .valueGenerics) mapFeature(.ABIAttribute, to: .abiAttribute) + // TODO: mapFeature(.KeypathWithMethodMembers, to: .keypathWithMethodMembers) + mapFeature(.OldOwnershipOperatorSpellings, to: .oldOwnershipOperatorSpellings) } } diff --git a/test/ASTGen/exprs.swift b/test/ASTGen/exprs.swift index 4392904512613..a8db1b9582660 100644 --- a/test/ASTGen/exprs.swift +++ b/test/ASTGen/exprs.swift @@ -1,16 +1,19 @@ // RUN: %empty-directory(%t) // RUN: %target-swift-frontend-dump-parse -target %target-swift-5.1-abi-triple -enable-experimental-move-only -enable-experimental-feature ParserASTGen \ +// RUN: -enable-experimental-feature OldOwnershipOperatorSpellings \ // RUN: | %sanitize-address > %t/astgen.ast // RUN: %target-swift-frontend-dump-parse -target %target-swift-5.1-abi-triple -enable-experimental-move-only \ +// RUN: -enable-experimental-feature OldOwnershipOperatorSpellings \ // RUN: | %sanitize-address > %t/cpp-parser.ast // RUN: %diff -u %t/astgen.ast %t/cpp-parser.ast -// RUN: %target-run-simple-swift(-target %target-swift-5.1-abi-triple -enable-experimental-feature ParserASTGen) +// RUN: %target-run-simple-swift(-target %target-swift-5.1-abi-triple -enable-experimental-feature OldOwnershipOperatorSpellings -enable-experimental-feature ParserASTGen) // REQUIRES: executable_test // REQUIRES: swift_swift_parser // REQUIRES: swift_feature_ParserASTGen +// REQUIRES: swift_feature_OldOwnershipOperatorSpellings // rdar://116686158 // UNSUPPORTED: asan