Skip to content

Commit 9bbdeaa

Browse files
committed
Enable experimental parser round-trip in test cases that no longer need it
Also, track all remaining uses of `-disable-experimental-parser-round-trip` by issues.
1 parent af036fe commit 9bbdeaa

File tree

8 files changed

+8
-4
lines changed

8 files changed

+8
-4
lines changed

test/Interpreter/value_generics.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// RUN: %target-run-simple-swift(-enable-experimental-feature ValueGenerics -Xfrontend -disable-availability-checking -Xfrontend -disable-experimental-parser-round-trip) | %FileCheck %s
2+
// FIXME: Remove -disable-experimental-parser-round-trip after https://github.com/swiftlang/swift-syntax/pull/2859 is merged
23

34
// UNSUPPORTED: use_os_stdlib
45
// UNSUPPORTED: back_deployment_runtime

test/ModuleInterface/specialize-attr.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// RUN: %empty-directory(%t)
22
// RUN: %target-swift-emit-module-interface(%t.swiftinterface) %s -module-name Test
3-
// R/UN: %target-swift-typecheck-module-from-interface(%t.swiftinterface) -module-name Test -disable-experimental-parser-round-trip
3+
// R/UN: %target-swift-typecheck-module-from-interface(%t.swiftinterface) -module-name Test
44
// RUN: %FileCheck %s --implicit-check-not "\$SpecializeAttributeWithAvailability" < %t.swiftinterface
55

66
// CHECK: @_specialize(exported: false, kind: full, where T == Swift.Double)

test/ModuleInterface/value_generics.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// RUN: %empty-directory(%t)
22
// RUN: %target-swift-emit-module-interface(%t.swiftinterface) %s -module-name ValueGeneric -enable-experimental-feature ValueGenerics -disable-availability-checking -disable-experimental-parser-round-trip
33
// RUN: %target-swift-typecheck-module-from-interface(%t.swiftinterface) -module-name ValueGeneric -disable-availability-checking -disable-experimental-parser-round-trip
4+
// FIXME: Remove -disable-experimental-parser-round-trip after https://github.com/swiftlang/swift-syntax/pull/2859 is merged
45
// RUN: %FileCheck %s < %t.swiftinterface
56

67
// REQUIRES: swift_feature_ValueGenerics

test/SIL/lifetime_dependence_span_lifetime_attr.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// RUN: %target-swift-frontend %s -emit-sil \
22
// RUN: -enable-experimental-feature NonescapableTypes \
33
// RUN: -disable-experimental-parser-round-trip | %FileCheck %s
4+
// FIXME: Remove '-disable-experimental-parser-round-trip' (rdar://137636751).
45

56
// REQUIRES: swift_in_compiler
67
// REQUIRES: swift_feature_NonescapableTypes

test/SILGen/keypaths.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
// RUN: %target-swift-emit-silgen -target %target-swift-5.1-abi-triple -disable-experimental-parser-round-trip -parse-stdlib -module-name keypaths %s | %FileCheck %s
2-
// FIXME: Remove '-disable-experimental-parser-round-trip'.
1+
// RUN: %target-swift-emit-silgen -target %target-swift-5.1-abi-triple -parse-stdlib -module-name keypaths %s | %FileCheck %s
32

43
// REQUIRES: swift_feature_KeyPathWithStaticMembers
54

test/Sema/lifetime_attr.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// RUN: %target-typecheck-verify-swift -disable-availability-checking -enable-experimental-feature NonescapableTypes -disable-experimental-parser-round-trip
2-
// FIXME: Remove '-disable-experimental-parser-round-trip'.
2+
// FIXME: Remove '-disable-experimental-parser-round-trip' (rdar://137636751).
33

44
// REQUIRES: swift_feature_NonescapableTypes
55

test/Sema/value_generics.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// RUN: %target-typecheck-verify-swift -enable-experimental-feature ValueGenerics -enable-experimental-feature NonescapableTypes -disable-availability-checking -disable-experimental-parser-round-trip
2+
// FIXME: Remove -disable-experimental-parser-round-trip after https://github.com/swiftlang/swift-syntax/pull/2859 is merged
23

34
// REQUIRES: swift_feature_NonescapableTypes
45
// REQUIRES: swift_feature_ValueGenerics

test/Serialization/value_generics.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// RUN: %empty-directory(%t)
22
// RUN: %target-swift-frontend %s -emit-module -enable-experimental-feature ValueGenerics -enable-experimental-feature RawLayout -disable-availability-checking -disable-experimental-parser-round-trip -parse-as-library -o %t
3+
// FIXME: Remove -disable-experimental-parser-round-trip after https://github.com/swiftlang/swift-syntax/pull/2859 is merged
34
// RUN: %target-sil-opt -enable-sil-verify-all %t/value_generics.swiftmodule -o - | %FileCheck %s
45

56
// REQUIRES: swift_feature_RawLayout

0 commit comments

Comments
 (0)