Skip to content

Commit eea544f

Browse files
authored
Merge pull request swiftlang#12931 from slavapestov/you-do-not-require-asserts-unless-you-crash
Fixed crashers don't require asserts
2 parents 72ad29a + afd9903 commit eea544f

File tree

57 files changed

+0
-57
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+0
-57
lines changed

validation-test/compiler_crashers_fixed/26725-llvm-smallvectorimpl-swift-diagnosticargument-operator.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,4 @@
66
// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
77

88
// RUN: not %target-swift-frontend %s -typecheck
9-
// REQUIRES: asserts
109
class a<T where g:d{class A{class A<T>:A{init(){T{

validation-test/compiler_crashers_fixed/28350-swift-typechecker-performtypocorrection.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,4 @@
66
// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
77

88
// RUN: not %target-swift-frontend %s -typecheck
9-
// REQUIRES: asserts
109
struct c{class A:A{}var f=A.s

validation-test/compiler_crashers_fixed/28389-swift-lookupvisibledecls.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,4 @@
66
// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
77

88
// RUN: not %target-swift-frontend %s -typecheck
9-
// REQUIRES: asserts
109
struct B{let d=A.b}class A:A{let a=V

validation-test/compiler_crashers_fixed/28482-hasaccessibility-accessibility-not-computed-yet.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,4 @@
66
// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
77

88
// RUN: not %target-swift-frontend %s -emit-ir
9-
// REQUIRES: asserts
109
{guard let{protocol A{extension{let d}}}let f=d

validation-test/compiler_crashers_fixed/28626-objectty-is-lvaluetype-objectty-is-inouttype-cannot-have-inout-or-lvalue-wrapped.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,4 @@
66
// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
77

88
// RUN: not %target-swift-frontend %s -emit-ir
9-
// REQUIRES: asserts
109
&[_=(&_

validation-test/compiler_crashers_fixed/28706-conformance-failed-to-find-pas-conformance-to-known-protocol.swift

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

8-
// REQUIRES: asserts
98
// RUN: not %target-swift-frontend %s -emit-ir
109
protocol P{let c{}typealias e:RangeReplaceableCollection}extension P{typealias e:a

validation-test/compiler_crashers_fixed/28728-d-isbeingvalidated-d-hasvalidsignature.swift

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

8-
// REQUIRES: asserts
98
// RUN: not %target-swift-frontend %s -emit-ir
109
typealias e:a
1110
struct A:a{}typealias a=A

validation-test/compiler_crashers_fixed/28733-parent-parent-is-nominaltype-parent-is-boundgenerictype-parent-is-unboundgeneric.swift

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

8-
// REQUIRES: asserts
98
// RUN: not %target-swift-frontend %s -emit-ir
109
protocol P{class a:Self.a

validation-test/compiler_crashers_fixed/28738-impl-genericparams-empty-key-depth-impl-genericparams-back-getdepth-key-index-im.swift

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

8-
// REQUIRES: asserts
98
// RUN: not %target-swift-frontend %s -emit-ir
109
protocol P}extension P{{}typealias a:P}extension P.a{protocol P

validation-test/compiler_crashers_fixed/28745-ty-getnominalorboundgenericnominal-ty-is-dynamicselftype-ty-isexistentialtype-ty.swift

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

8-
// REQUIRES: asserts
98
// RUN: not %target-swift-frontend %s -emit-ir
109
&{LazyFilterIndex{

0 commit comments

Comments
 (0)