Skip to content

Commit dbbd153

Browse files
committed
My recent patch "broke" these tests, but allowing the syntax in them to trigger existing generics bugs.
1 parent c5bf433 commit dbbd153

7 files changed

+7
-7
lines changed

validation-test/compiler_crashers_fixed/01036-swift-modulefile-lookupvalue.swift renamed to validation-test/compiler_crashers/01036-swift-modulefile-lookupvalue.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// See http://swift.org/LICENSE.txt for license information
66
// See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
77

8-
// RUN: not %target-swift-frontend %s -parse
8+
// RUN: not --crash %target-swift-frontend %s -parse
99
func g<d.Type) -> {
1010
class C(object1, a
1111
typealias F>(a("
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// See http://swift.org/LICENSE.txt for license information
66
// See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
77

8-
// RUN: not %target-swift-frontend %s -parse
8+
// RUN: not --crash %target-swift-frontend %s -parse
99
struct e {
1010
func a<T) -> String {
1111
}

validation-test/compiler_crashers_fixed/01904-swift-type-transform.swift renamed to validation-test/compiler_crashers/01904-swift-type-transform.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// See http://swift.org/LICENSE.txt for license information
66
// See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
77

8-
// RUN: not %target-swift-frontend %s -parse
8+
// RUN: not --crash %target-swift-frontend %s -parse
99
func g<T) {
1010
enum a<C: B.C<T>(t: C: k) -> String {
1111
[0] {

validation-test/compiler_crashers_fixed/01934-swift-typebase-gettypevariables.swift renamed to validation-test/compiler_crashers/01934-swift-typebase-gettypevariables.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// See http://swift.org/LICENSE.txt for license information
66
// See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
77

8-
// RUN: not %target-swift-frontend %s -parse
8+
// RUN: not --crash %target-swift-frontend %s -parse
99
if true {
1010
func b: Sequence where d<T {
1111
typealias b {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// See http://swift.org/LICENSE.txt for license information
66
// See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
77

8-
// RUN: not %target-swift-frontend %s -parse
8+
// RUN: not --crash %target-swift-frontend %s -parse
99
struct D : Collection where h: s {
1010
func b: P {
1111
}

validation-test/compiler_crashers_fixed/02242-swift-functiontype-get.swift renamed to validation-test/compiler_crashers/02242-swift-functiontype-get.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// See http://swift.org/LICENSE.txt for license information
66
// See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
77

8-
// RUN: not %target-swift-frontend %s -parse
8+
// RUN: not --crash %target-swift-frontend %s -parse
99
struct S {
1010
protocol a {
1111
class func f: d where B : d == i([$0.a: String
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// See http://swift.org/LICENSE.txt for license information
66
// See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
77

8-
// RUN: not %target-swift-frontend %s -parse
8+
// RUN: not --crash %target-swift-frontend %s -parse
99
typealias e : d where h: AnyObject
1010
protocol A {
1111
enum S<c {

0 commit comments

Comments
 (0)