content stringlengths 1 103k ⌀ | path stringlengths 8 216 | filename stringlengths 2 179 | language stringclasses 15
values | size_bytes int64 2 189k | quality_score float64 0.5 0.95 | complexity float64 0 1 | documentation_ratio float64 0 1 | repository stringclasses 5
values | stars int64 0 1k | created_date stringdate 2023-07-10 19:21:08 2025-07-09 19:11:45 | license stringclasses 4
values | is_test bool 2
classes | file_hash stringlengths 32 32 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
// RUN: %target-swift-frontend -emit-ir %s\n\npublic struct G<T> {\n var value: T { fatalError() }\n}\n\npublic func f<T>(transform: () -> T) {}\n\npublic func g<T, each V>(_ v: repeat G<each V>?, transform: (repeat (each V)?) -> T) {\n f(transform: { transform(repeat (each v)?.value ?? nil) })\n}\n | dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\rdar113505724.swift | rdar113505724.swift | Swift | 291 | 0.8 | 0 | 0.125 | awesome-app | 780 | 2024-08-04T10:49:14.655510 | GPL-3.0 | true | a2fc025bb54bba84deac163be14b5a15 |
// RUN: %target-swift-frontend -emit-ir %s -disable-availability-checking\n\nprotocol P {\n func evaluate(_ item: Int) -> Bool\n}\n\nstruct G<each F: P>: P {\n init(filters: repeat each F) {\n self.filters = (repeat each filters)\n }\n\n var filters: (repeat each F)\n\n func evaluate(_ item: Int) ... | dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\rdar119212867.swift | rdar119212867.swift | Swift | 858 | 0.8 | 0 | 0.027778 | node-utils | 95 | 2025-03-17T15:18:34.634387 | GPL-3.0 | true | 3268710edfd13989454f59b70c31b5b2 |
// RUN: %target-swift-frontend -emit-ir %s\n\npublic func withOptionalsAsPointers<T, each Opt>(\n _ optional: repeat Optional<each Opt>,\n body: (repeat UnsafePointer<each Opt>?) throws -> T\n) rethrows -> T {\n return try body(repeat (each optional).map { withUnsafePointer(to: $0) { $0 } })\n}\n | dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\rdar122293832.swift | rdar122293832.swift | Swift | 289 | 0.8 | 0.125 | 0.142857 | vue-tools | 683 | 2024-08-13T02:04:38.121281 | Apache-2.0 | true | b20bd5feed247ced862e6b115f7e9a22 |
// RUN: %target-typecheck-verify-swift\n\npublic enum E : E.R {\n// expected-error@-1 {{'E' has a raw type that depends on itself}}\n// expected-note@-2 2{{through reference here}}\n// expected-note@-3 {{while resolving type 'E.R'}}\n// expected-error@-4 {{'R' is not a member type of enum 'rdar123543175.E'}}\n// expect... | dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\rdar123543175.swift | rdar123543175.swift | Swift | 357 | 0.8 | 0.1 | 0.666667 | python-kit | 160 | 2024-03-07T19:20:53.837710 | BSD-3-Clause | true | 5604f69372ec9694a9729c8d7dc7c250 |
// RUN: %target-swift-frontend -emit-ir %s\n\nfunc withPointerToElements<each T, E, R>(\n of tuple: borrowing (repeat each T),\n _ body: (UnsafeBufferPointer<E>) -> R\n) -> R {\n for t in repeat (each T).self {\n if t != E.self {\n preconditionFailure()\n }\n }\n return withUnsaf... | dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\rdar124329076.swift | rdar124329076.swift | Swift | 397 | 0.8 | 0.133333 | 0.071429 | react-lib | 455 | 2023-07-17T01:56:06.598011 | BSD-3-Clause | true | b7f7ca2e19706c38353fb85ef6bdd7a4 |
// RUN: %target-swift-frontend -emit-ir -target %target-swift-5.9-abi-triple %s\n\nprotocol P {\n var p: Int { get }\n}\n\nprotocol Q {\n func p(content: Int) -> Int\n}\n\nstruct Zero: P {\n var p: Int { 0 }\n}\n\nstruct One: P {\n var p: Int { 1 }\n}\n\nstruct Add: Q {\n let rhs: Int\n\n func p(conte... | dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\rdar138655637.swift | rdar138655637.swift | Swift | 2,206 | 0.8 | 0.018182 | 0.011364 | react-lib | 339 | 2025-05-15T16:34:02.322860 | MIT | true | 1362ccf6ddfba0a630228cc0c92d6ac7 |
// RUN: %target-typecheck-verify-swift\n\nprotocol P {\n typealias A = () -> Void\n func f(_: Int) -> (Int, A)\n // expected-note@-1 {{protocol requires function 'f' with type '(Int) -> (Int, Self.A)' (aka '(Int) -> (Int, () -> ())')}}\n}\n\nclass C: P {\n // expected-error@-1 {{type 'C' does not conform to protoco... | dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\rdar144302927.swift | rdar144302927.swift | Swift | 487 | 0.95 | 0.214286 | 0.416667 | python-kit | 970 | 2024-08-18T15:45:28.983236 | BSD-3-Clause | true | a2e1d61cb4712b5d3840f86fe2b05b1c |
// RUN: %target-typecheck-verify-swift\n\nprotocol Q {\n func foo()\n}\n\nprotocol P<T>: AnyObject {\n associatedtype T: Q\n}\n\nfinal class C<T: Q>: P {\n}\n\nstruct S: Q {\n func foo() {}\n}\n\n// This used to return an ErrorType and crash\n\nfunc testit() -> P<S> { // expected-warning {{use of protocol 'P' as a ... | dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\rdar146681539.swift | rdar146681539.swift | Swift | 350 | 0.95 | 0.045455 | 0.125 | node-utils | 987 | 2023-08-04T10:54:36.627402 | Apache-2.0 | true | 38f2f0356cef45fe3f0c6e104f5d2a08 |
// RUN: %target-swift-frontend -emit-sil %s\n\n// These cases are similar to https://github.com/swiftlang/swift/issues/80657,\n// but we can avoid hitting the same issue for non-enum members.\n\nstruct S {\n let y = 0\n func foo(_ x: Int) {\n let _ = { [self] in\n switch x {\n case y: break\n defaul... | dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\rdar146952007.swift | rdar146952007.swift | Swift | 664 | 0.95 | 0.111111 | 0.076923 | vue-tools | 302 | 2024-03-14T20:05:14.720508 | MIT | true | 95f5120fa530693432d02c4c15fad793 |
// RUN: not %target-typecheck-verify-swift\n\nclass Q {\n var z: Q.z\n \n init () {\n // FIXME: Per rdar://problem/35469647, this should be well-formed, but\n // it's no longer crashing the compiler.\n z = Q.z.M\n }\n \n enum z: Int {\n case M = 1\n }\n}\n | dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\rdar35441779.swift | rdar35441779.swift | Swift | 260 | 0.95 | 0.066667 | 0.25 | awesome-app | 759 | 2024-03-12T20:51:41.489246 | GPL-3.0 | true | c684c2291b33c2704c327f16d0b0471c |
// RUN: %target-typecheck-verify-swift\n\nextension Array where Element == String {\n typealias InternalTypeAlias = Int\n func doSomething<R>(foo: (InternalTypeAlias) -> R) {}\n}\n | dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\rdar46714549.swift | rdar46714549.swift | Swift | 176 | 0.8 | 0 | 0.2 | react-lib | 231 | 2025-06-29T11:23:06.943088 | MIT | true | d389e90da433b6e20720c7ff45ea5ea6 |
// RUN: %target-swift-frontend -typecheck -verify %s\n\nprotocol A {\n associatedtype BType: B where BType.AType == Self\n associatedtype CType: C where CType.AType == Self\n\n var b: BType { get }\n var c: CType { get set }\n\n func bGetter() -> BType\n mutating func cSetter(_ newC: CType)\n\n subscript (b: BTy... | dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\rdar54394068.swift | rdar54394068.swift | Swift | 826 | 0.8 | 0 | 0.02381 | python-kit | 277 | 2025-03-14T10:57:31.849622 | GPL-3.0 | true | d6c3dd71d25514e765b9ec031d2ac050 |
// RUN: %target-swift-frontend -c %s\n\n@propertyWrapper\nclass OneOf<Value: Equatable> {\n var wrappedValue: Value {\n get { value }\n set { storeIfAllowed(newValue) }\n }\n \n private var value: Value\n \n private let allowedValues: [Value]\n \n init(wrappedValue value: Value, _ allowedValues: Value...)... | dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\rdar54609704.swift | rdar54609704.swift | Swift | 681 | 0.95 | 0.029412 | 0.037037 | node-utils | 125 | 2023-09-01T19:08:18.646307 | GPL-3.0 | true | 5b1cb1ccdf3dd207e3154d198093b490 |
// RUN: %target-swift-frontend -primary-file %s -emit-ir\n\npublic protocol WrappedSignedInteger: SignedInteger where Stride == Int {\n typealias WrappedInteger = Int\n\n var wrappedNumber: WrappedInteger { get set }\n init(wrappedNumber: WrappedInteger)\n}\n\npublic extension WrappedSignedInteger {\n typea... | dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\rdar56398071.swift | rdar56398071.swift | Swift | 4,041 | 0.8 | 0.013423 | 0.045045 | awesome-app | 651 | 2025-04-07T05:29:37.076721 | MIT | true | d771739b4a6e48af6fa211305da27137 |
// RUN: %target-swift-frontend -typecheck %s\n\nextension Sequence {\n func sorted<T: Comparable, K: KeyPath<Element, T>>(by keyPath: K) -> Array<Element> {\n self.sorted { $0[keyPath:keyPath] < $1[keyPath:keyPath] }\n }\n}\n\nstruct Foo {\n let a: Int\n}\n\nfunc main() {\n print([Foo(a: 2), Foo(a:1)... | dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\rdar56700017.swift | rdar56700017.swift | Swift | 359 | 0.8 | 0 | 0.076923 | python-kit | 125 | 2023-10-07T05:09:30.448786 | BSD-3-Clause | true | cfe1075aed9bc4a2c45bd97ff9879e37 |
// RUN: not %target-swift-frontend -typecheck %s\n\nprotocol Iteratee {\n associatedtype Iterator\n}\n\nprotocol BidirectionalAdvancingCollection: Iteratee {\n struct Iterator<Elements> {}\n}\n | dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\rdar57003317.swift | rdar57003317.swift | Swift | 186 | 0.8 | 0 | 0.142857 | awesome-app | 895 | 2025-06-03T09:39:37.746646 | Apache-2.0 | true | 270ce4a408254fe03eaf06668be249ad |
// RUN: not %target-swift-frontend -typecheck %s\nclass A { }\nclass B: A {\n func foo(_: () -> ()) {\n\n override var prop: Any? {\n didSet { }\n }\n}\n | dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\rdar57040259.swift | rdar57040259.swift | Swift | 152 | 0.95 | 0.222222 | 0.125 | python-kit | 942 | 2024-10-02T00:26:08.871629 | MIT | true | 1bddecf559d59c6b8ff68e7f46cd3531 |
// RUN: not %target-swift-frontend -typecheck %s\n\nprotocol Item {\n associatedtype Rule\n func isValide(valid: Rule) -> Bool\n}\n\nprotocol PairableItem: Item {\n associatedtype AssociatedItem: PairableItem where AssociatedItem.Rule: Rule\n}\n | dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\rdar57728533.swift | rdar57728533.swift | Swift | 238 | 0.8 | 0 | 0.125 | vue-tools | 972 | 2025-04-07T08:22:34.766171 | GPL-3.0 | true | 672f31e8c9ff5e871344cee0b1895ab1 |
// RUN: not %target-swift-frontend -typecheck %s\n\nstruct CommandContext<Command> {\n init() {\n let input = [1,2,3].filter {\n\nextension CommandContext {\n struct Options {\n subscript<T>(path: T) -> Int {\n fatalError()\n }\n }\n}\n | dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\rdar58813746.swift | rdar58813746.swift | Swift | 240 | 0.8 | 0 | 0.090909 | awesome-app | 746 | 2023-12-08T17:39:24.422364 | Apache-2.0 | true | a560b689dc2ede1e081f2afc85cac0f8 |
// RUN: not %target-swift-frontend %s -typecheck\n\nclass C {}\nprotocol Foo {\n associatedtype X where C: X\n}\n | dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\rdar58941114.swift | rdar58941114.swift | Swift | 108 | 0.95 | 0.166667 | 0.2 | python-kit | 630 | 2024-06-07T05:07:57.917183 | BSD-3-Clause | true | f12e4fc77ec045ed4b90a5ad6d85fbbf |
// RUN: %target-swift-frontend -typecheck %s\n\nstruct Model<E> where E: Comparable {\n enum TimePeriod: CaseIterable {\n case day, week, month, year\n }\n}\n\nstruct MyStruct<E> where E: Comparable {\n init<EA>(entries: EA) where EA: BidirectionalCollection, EA.Element == E, EA.Index == Int {\n typealias MDic... | dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\rdar60081992.swift | rdar60081992.swift | Swift | 483 | 0.8 | 0 | 0.066667 | awesome-app | 114 | 2023-12-14T08:49:58.127119 | MIT | true | 9be1f37c495ca5be74af13b35f40f25b |
// RUN: %target-swift-frontend -emit-ir %s\n\npublic protocol HorseSaddle {}\npublic enum EnglishSaddle : HorseSaddle {}\n\npublic enum WesternSaddle<A, B> : HorseSaddle {}\n\npublic protocol Horse {\n associatedtype Body : Horse\n\n associatedtype Saddle: HorseSaddle\n\n var body: Body { get }\n}\n\nextension... | dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\rdar62268062.swift | rdar62268062.swift | Swift | 799 | 0.8 | 0.02439 | 0.068966 | awesome-app | 38 | 2024-04-27T03:03:46.806756 | GPL-3.0 | true | e6dfc42793f4fe22f50078485ae5f02d |
// RUN: %target-swift-frontend -emit-ir %s\n\npublic class Clazz {}\n\npublic protocol SelectableFieldValueProtocol {}\n\npublic protocol FieldProtocol {\n associatedtype SelectableValue : SelectableFieldValueProtocol\n}\n\npublic protocol SelectFieldValueCoordinatorDelegate {\n associatedtype Field : Clazz, Fie... | dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\rdar64759168.swift | rdar64759168.swift | Swift | 452 | 0.95 | 0.133333 | 0.1 | vue-tools | 118 | 2025-03-07T00:25:02.573951 | GPL-3.0 | true | 6e7f189681fe9766c40b445d31da92a1 |
// RUN: not %target-swift-frontend -typecheck %s\n\npublic protocol SomeProtocol {}\n\npublic struct Impl<Param>: SomeProtocol where Param: SomeProtocol {}\n\npublic struct Wrapper<Content> where Content: SomeProtocol {}\n\npublic extension Wrapper where Content == Impl<WrapperParam> {\n typealias WrapperParam = SomeP... | dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\rdar64992293.swift | rdar64992293.swift | Swift | 322 | 0.8 | 0 | 0.142857 | node-utils | 519 | 2024-02-22T14:59:25.367741 | BSD-3-Clause | true | 476da79c1afcce4736bbf107165bac03 |
// RUN: %target-swift-frontend -emit-ir %s\n\npublic protocol P1 {\n associatedtype Value\n}\n\npublic protocol P2 {\n associatedtype Value\n}\n\npublic class Class2<V> : P2 {\n public typealias Value = V\n}\n\npublic class Superclass<T1, T2> where T1 : P1, T2 : P2, T2.Value == T1.Value {\n}\n\npublic class Subclass... | dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\rdar65040635.swift | rdar65040635.swift | Swift | 374 | 0.95 | 0.157895 | 0.071429 | react-lib | 263 | 2024-10-30T10:42:51.111770 | Apache-2.0 | true | ea411053309743249abf6f5d5311a4a6 |
// RUN: not %target-swift-frontend -typecheck %s\n\n// N.B.: Requires a no-asserts build to reproduce, otherwise this hits an\n// assertion in type check pattern.\n// REQUIRES: no_asserts\n\nindirect enum BadOverload {\ncase one(Bool, other: Void)\ncase one(Bool?)\n}\n\nfunc crash(_ x: BadOverload) {\n switch $0 {\n ... | dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\rdar65229620.swift | rdar65229620.swift | Swift | 343 | 0.8 | 0.055556 | 0.285714 | awesome-app | 81 | 2023-10-23T09:35:13.026606 | Apache-2.0 | true | efbfe03564b9e6ec13292a7f60fd7108 |
// RUN: %target-swift-frontend -emit-ir %s\n\npublic struct S1<T1> {}\npublic extension S1 where T1 == Int {\n public struct S2<T2> {\n let value: T2\n \n public init(value: T2) {\n self.value = value\n }\n }\n \n public init<T>(s: [S2<T>]) {\n self.init()\n ... | dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\rdar65272763.swift | rdar65272763.swift | Swift | 368 | 0.8 | 0 | 0.066667 | python-kit | 644 | 2024-05-04T13:18:21.933690 | Apache-2.0 | true | 607b4b0782b3e4faefa3867d80ab3aa0 |
// RUN: %target-swift-frontend -emit-ir %s\n\npublic protocol LinkedListNode: AnyObject {\n associatedtype T\n}\n\npublic class LinkedList<N: LinkedListNode> where N.T: Hashable {\n public typealias T = N.T\n}\n\npublic struct LinkedListIterator<N: LinkedListNode>: IteratorProtocol {\n public mutating func nex... | dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\rdar65297215.swift | rdar65297215.swift | Swift | 555 | 0.95 | 0.043478 | 0.052632 | python-kit | 513 | 2024-10-16T16:52:02.827446 | BSD-3-Clause | true | c89de690bf0b66c27b260d743eb7620c |
// RUN: not %target-swift-frontend -typecheck %s\n\nclass DataType: DataType {}\nextension DataType: Encodable {}\n | dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\rdar66588925.swift | rdar66588925.swift | Swift | 111 | 0.95 | 0.25 | 0.333333 | node-utils | 166 | 2024-02-05T18:35:02.143183 | MIT | true | 994ce08dc87fa82e923b9c0ef5fdd665 |
// RUN: %target-swift-frontend -typecheck %s\n\n@resultBuilder\nstruct SillyBuilder {\n static func buildBlock() -> () {}\n}\n\nstruct SillyStruct {\n init(@SillyBuilder _: () -> ()) {}\n}\n\nstruct UsesSillyStruct {\n var x: Int = 0\n\n func foo() {\n SillyStruct {\n let fn = {\n if true {\n ... | dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\rdar67239650.swift | rdar67239650.swift | Swift | 340 | 0.8 | 0.041667 | 0.05 | python-kit | 933 | 2024-03-18T18:27:30.953233 | GPL-3.0 | true | 32d5359efd91c01223a7cb587bdde743 |
// RUN: %target-swift-frontend -emit-ir %s\n\npublic func foo<T : P & Q>(_: T, _: S<T>.A) {}\n\npublic protocol P {\n associatedtype A\n\n func foo() -> A\n}\n\npublic protocol Q {\n associatedtype A\n\n func bar() -> A\n}\n\npublic struct S<T> {}\n\nextension S : P where T : P {\n public func foo() -> Int {\n ... | dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\rdar67259506.swift | rdar67259506.swift | Swift | 394 | 0.8 | 0 | 0.047619 | node-utils | 624 | 2024-01-12T21:31:00.009034 | GPL-3.0 | true | fb6ee8db8f29aaba8d5b717de19f0881 |
// RUN: not %target-swift-frontend -typecheck %s\n\npublic typealias GUID = (a: UInt32, b: UInt16, c: UInt16, d: UInt8, e: UInt8, f: UInt8, g: UInt8, h: UInt8, i: UInt8, j: UInt8, k: UInt8)\nlet function1: @convention(c) (UnsafePointer<GUID>) -> Void\n | dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\rdar67360656.swift | rdar67360656.swift | Swift | 248 | 0.95 | 0 | 0.333333 | python-kit | 611 | 2025-07-06T20:44:16.004765 | Apache-2.0 | true | 7685e115086520f89688dbb70cf4acdd |
// RUN: %target-swift-frontend -emit-ir %s -debug-generic-signatures 2>&1 | %FileCheck %s\n// REQUIRES: OS=macosx\n\nimport Combine\n\n@available(macOS 10.15, *)\nextension Publishers.Share {\n // CHECK-LABEL: .foo()@\n // CHECK-NEXT: Generic signature: <Upstream, A, B where Upstream == Publishers.FlatMap<A, B>, ... | dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\rdar69073431.swift | rdar69073431.swift | Swift | 572 | 0.95 | 0 | 0.4 | react-lib | 113 | 2024-08-24T07:03:44.870538 | MIT | true | 592608bc8d7596b6e8b0957f1c60da60 |
// RUN: %target-swift-frontend -emit-ir %s -enable-experimental-concurrency\n\n// REQUIRES: concurrency\n\n@available(SwiftStdlib 5.1, *)\npublic protocol AsyncIteratorProtocol {\n associatedtype Element\n associatedtype Failure: Error\n\n mutating func nextResult() async -> Result<Element, Failure>?\n muta... | dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\rdar70144083.swift | rdar70144083.swift | Swift | 1,173 | 0.8 | 0 | 0.058824 | node-utils | 825 | 2025-04-28T23:18:05.523812 | GPL-3.0 | true | 8ba2477ea7a1416e22b472d450611bbc |
// RUN: %target-swift-frontend -emit-ir %s\n\npublic struct X {\n public subscript(_ key: String, as type: Error.Type = Error.self) -> Error? {\n get {\n return nil\n }\n }\n}\n\nlet x = X()\n_ = x["hi"]\n | dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\rdar70338670.swift | rdar70338670.swift | Swift | 206 | 0.8 | 0 | 0.1 | vue-tools | 327 | 2024-10-30T13:04:35.911794 | BSD-3-Clause | true | 825b3e0de4c9384261ed0153457b02e4 |
// RUN: %target-swift-frontend -emit-ir %s\n\nstruct Horse {}\n\nclass Reproducer {\n lazy var barn: Any = {\n class Barn {\n var horse: Horse {\n return Horse()\n }\n }\n return Barn()\n }()\n}\n\n | dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\rdar70732736.swift | rdar70732736.swift | Swift | 247 | 0.95 | 0.133333 | 0.083333 | vue-tools | 611 | 2024-03-12T05:26:53.791753 | GPL-3.0 | true | ac9d3de367c6991ff82e3f7b6529fb77 |
// RUN: %target-swift-frontend -emit-module %s -experimental-skip-non-inlinable-function-bodies\n\nstruct Foo {\n var fieldWithDidSet : Int {\n didSet {\n let local = oldValue\n }\n }\n}\n | dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\rdar70739449.swift | rdar70739449.swift | Swift | 192 | 0.95 | 0.111111 | 0.125 | node-utils | 864 | 2023-10-29T19:19:25.639855 | MIT | true | e4bad1f41fec2365cbbd0bf827ab90c3 |
// RUN: %target-swift-frontend -emit-ir %s\n\npublic struct LowerModel {\n public typealias Index = Int\n}\n\npublic protocol LowerChildA {\n typealias Model = LowerModel\n typealias ModelIndex = Model.Index\n}\n\npublic protocol LowerChildB {\n typealias Model = LowerModel\n typealias ModelIndex = Model.Index\n}\n\npu... | dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\rdar71162777.swift | rdar71162777.swift | Swift | 422 | 0.8 | 0 | 0.071429 | node-utils | 226 | 2024-04-10T22:38:47.512110 | BSD-3-Clause | true | 8f8253525103bdecb93dda60355761d3 |
// RUN: %target-swift-frontend %s -emit-ir -enable-library-evolution -enable-experimental-concurrency\n// REQUIRES: concurrency\n\n@available(SwiftStdlib 5.1, *)\npublic class X {\n public func f() async { }\n}\n | dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\rdar71260862.swift | rdar71260862.swift | Swift | 206 | 0.95 | 0.142857 | 0.333333 | awesome-app | 877 | 2024-07-14T08:55:10.255919 | Apache-2.0 | true | ab569db7653c1af6d5ed3b65c135e640 |
// RUN: %target-swift-frontend %s -emit-ir -enable-library-evolution -enable-experimental-concurrency\n// REQUIRES: concurrency\n\n@available(SwiftStdlib 5.1, *)\npublic protocol P {\n func f() async\n}\n | dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\rdar71491604.swift | rdar71491604.swift | Swift | 198 | 0.8 | 0 | 0.333333 | vue-tools | 87 | 2024-03-26T04:25:36.642116 | MIT | true | 90408f7c2211bfac9c845278a960794e |
// RUN: %target-swift-frontend -emit-ir -primary-file %s -enable-experimental-concurrency\n// REQUIRES: concurrency\n\n@available(SwiftStdlib 5.1, *)\nfunc getIntAndString() async -> (Int, String) { (5, "1") }\n\n@available(SwiftStdlib 5.1, *)\nfunc testDecompose() async -> Int {\n async let (i, s) = await getIntAndSt... | dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\rdar71816041.swift | rdar71816041.swift | Swift | 338 | 0.8 | 0 | 0.222222 | react-lib | 381 | 2024-11-09T08:52:39.535930 | GPL-3.0 | true | 54981e35c1260428a95f0a9b249adf4a |
// RUN: %target-swift-frontend %s -emit-ir -enable-experimental-concurrency\n// REQUIRES: concurrency\n\n@available(SwiftStdlib 5.1, *)\nprotocol P {\n func f<T>() async throws -> T?\n}\n@available(SwiftStdlib 5.1, *)\nextension P {\n func f<T>() async throws -> T? { nil }\n}\n@available(SwiftStdlib 5.1, *)\nclass X:... | dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\rdar72397303.swift | rdar72397303.swift | Swift | 315 | 0.95 | 0.071429 | 0.166667 | python-kit | 816 | 2025-07-09T16:15:12.127240 | Apache-2.0 | true | 142bf71c2e615abf952aad9ef18dad89 |
// RUN: not %target-swift-frontend -emit-ir %s\n\npublic protocol Ungulate {\n func eat()\n}\n\npublic class Horse<T> : Ungulate {\n public var saddle: AnyObject? = nil\n\n public func eat() {}\n}\n\npublic struct Hay {}\n\n// Here, ClassDecl::getSuperclassDecl() will find the 'Horse' class, but\n// ClassDecl::getSu... | dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\rdar73169149.swift | rdar73169149.swift | Swift | 553 | 0.95 | 0.115385 | 0.2 | python-kit | 749 | 2024-02-20T13:07:46.777001 | GPL-3.0 | true | 16a035852778ce49d7b3cf143793e435 |
// RUN: not %target-swift-frontend -typecheck %s\n\ntypealias IndexResult = Result<Bol, Error>\nextension IndexResult {\n func perfect() -> Self {\n Success(true)\n }\n}\n | dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\rdar73379770.swift | rdar73379770.swift | Swift | 168 | 0.8 | 0 | 0.142857 | awesome-app | 73 | 2024-06-10T02:38:49.951629 | MIT | true | c0eb8d3786b3f4f7acac6547241a870a |
// RUN: not %target-swift-frontend -typecheck %s\n\npublic struct PeakMemoryUsage {\n public let rawValue: UInt64\n\n @_spi( init(rawValue: UInt64) {\n self.rawValue = rawValue\n }\n}\n | dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\rdar74154023.swift | rdar74154023.swift | Swift | 182 | 0.8 | 0 | 0.142857 | vue-tools | 725 | 2024-12-16T11:20:57.216600 | BSD-3-Clause | true | 0cad310d3c5b5d2d0fecbd2695b730cf |
// RUN: %target-swift-frontend -typecheck %s\n\nextension Optional {\n init?() {\n self.init(nilLiteral: Void())\n }\n}\n | dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\rdar74557857.swift | rdar74557857.swift | Swift | 119 | 0.8 | 0 | 0.166667 | react-lib | 313 | 2024-06-16T05:05:22.637574 | MIT | true | 923bffec28e1a590e204e9fd5ab4c82d |
// RUN: not %target-swift-frontend -typecheck %s\n\nprecedencegroup MyOperatorPrecedence {\n lowerThan: MultiplicationPrecedence\n higherThan: AdditionPrec\n associativity: left\n assignment: false\n}\n | dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\rdar75248642.swift | rdar75248642.swift | Swift | 198 | 0.8 | 0 | 0.142857 | node-utils | 336 | 2024-08-15T14:46:34.644973 | BSD-3-Clause | true | cce73e4d5fd37291b674a7dcc89e8516 |
// RUN: not %target-swift-frontend %s -c -parse-as-library\n\n@main struct M1 {\n static func main() {}\n}\n\n@main struct M2<T> {\n static func main() {}\n}\n\n | dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\rdar75547146.swift | rdar75547146.swift | Swift | 153 | 0.8 | 0 | 0.142857 | python-kit | 241 | 2024-04-29T10:41:21.277423 | GPL-3.0 | true | a6fd07aae25fc86a3236395456dfa44d |
// RUN: not %target-swift-frontend -typecheck %s\n\nstruct MyStruct {}\nprotocol MyProtocol {}\n\nfunc foo(bytes: [MyStruct]) {\n bytes.withUnsafeBufferPointer { a in\n extension MyProtocol {\n var bytes: MyStruct {\n fatalError()\n }\n }\n }\n}\n | dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\rdar76049852.swift | rdar76049852.swift | Swift | 262 | 0.8 | 0 | 0.083333 | python-kit | 975 | 2023-12-26T09:17:52.803881 | BSD-3-Clause | true | 1d410d0fddee75c306369141528f1462 |
// RUN: %target-swift-frontend -emit-ir %s\n\npublic class Base {}\n\npublic class Derived : Base {}\n\npublic protocol P {}\n\npublic class C : P {}\n\npublic class G<X : P, Y : Base> {}\n\nextension G where X == C, Y == Derived {\n public func foo() {}\n}\n | dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\rdar76249579.swift | rdar76249579.swift | Swift | 245 | 0.95 | 0.266667 | 0.111111 | node-utils | 784 | 2025-04-16T18:46:06.348438 | MIT | true | 69f6eb574d8a7098eac8b2f4a913729d |
// RUN: %target-swift-frontend %s -emit-silgen -disable-availability-checking -import-objc-header %S/Inputs/rdar79383990.h\n// REQUIRES: objc_interop\n\nimport Foundation\n\nfunc test(s: BackgroundActivityScheduler) async {\n _ = await s.schedule()\n}\n | dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\rdar79383990.swift | rdar79383990.swift | Swift | 248 | 0.95 | 0 | 0.333333 | vue-tools | 744 | 2024-03-14T19:11:57.339208 | MIT | true | 02b24988ed18d183c02f69f7ca88fdc3 |
// RUN: %target-swift-frontend -emit-sil %s\n\npublic class C {\n public func foo() -> Self {\n let arr = [self]\n\n bar(arr)\n\n return self\n }\n}\n\n@_transparent public func bar<T : Sequence>(_ xs: T) {\n for x in xs { _ = x }\n}\n | dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\rdar80296242.swift | rdar80296242.swift | Swift | 232 | 0.95 | 0.133333 | 0.090909 | awesome-app | 725 | 2025-02-12T13:08:38.317081 | MIT | true | a8c9a76a17b24a6a26c3a234a5fb394b |
// RUN: %empty-directory(%t)\n// RUN: %target-clang %S/Inputs/rdar80704382.m -I %S/Inputs -c -o %t/rdar80704382.o\n// RUN: %target-build-swift -Xfrontend -disable-availability-checking -import-objc-header %S/Inputs/rdar80704382.h -Xlinker %t/rdar80704382.o -parse-as-library %s -o %t/main\n// RUN: %target-codesign %t/ma... | dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\rdar80704382.swift | rdar80704382.swift | Swift | 759 | 0.95 | 0.083333 | 0.6 | awesome-app | 797 | 2023-09-16T15:12:13.838546 | GPL-3.0 | true | 2dd0673bbd1863095c7b937987579b20 |
// RUN: %empty-directory(%t)\n// RUN: %target-clang %S/Inputs/rdar80704984.m -I %S/Inputs -c -o %t/rdar80704984.o\n// RUN: %target-build-swift -Xfrontend -disable-availability-checking -import-objc-header %S/Inputs/rdar80704984.h -Xlinker %t/rdar80704984.o -parse-as-library %s -o %t/a.out\n// RUN: %target-codesign %t/a... | dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\rdar80704984.swift | rdar80704984.swift | Swift | 1,546 | 0.95 | 0.218182 | 0.326531 | node-utils | 695 | 2024-03-23T10:05:01.562850 | GPL-3.0 | true | e5a0441975de17c7e683af2c9e647ba9 |
// RUN: %empty-directory(%t)\n// RUN: %target-clang %S/Inputs/rdar80704984_2.m -I %S/Inputs -c -o %t/rdar80704984_2.o\n// RUN: %target-build-swift -Xfrontend -disable-availability-checking -import-objc-header %S/Inputs/rdar80704984_2.h -Xlinker %t/rdar80704984_2.o -parse-as-library %s -o %t/a.out\n// RUN: %target-codes... | dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\rdar80704984_2.swift | rdar80704984_2.swift | Swift | 2,303 | 0.95 | 0.22449 | 0.224719 | react-lib | 997 | 2024-09-23T09:53:47.413180 | GPL-3.0 | true | 477196ee7fa17fcd19799ee7437dc3bd |
// RUN: %empty-directory(%t)\n// RUN: %target-clang %S/Inputs/rdar80704984_3.m -I %S/Inputs -c -o %t/rdar80704984_3.o\n// RUN: %target-build-swift -Xfrontend -disable-availability-checking -import-objc-header %S/Inputs/rdar80704984_3.h -Xlinker %t/rdar80704984_3.o -parse-as-library %s -o %t/a.out\n// RUN: %target-codes... | dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\rdar80704984_3.swift | rdar80704984_3.swift | Swift | 1,439 | 0.95 | 0.185185 | 0.311111 | python-kit | 414 | 2024-06-26T21:53:57.347000 | Apache-2.0 | true | 432b2c1a8b9a747a5e9e37287911a53c |
// RUN: %empty-directory(%t)\n// RUN: %target-clang %S/Inputs/rdar81590807.m -I %S/Inputs -c -o %t/rdar81590807.o\n// RUN: %target-build-swift -Xfrontend -disable-availability-checking -import-objc-header %S/Inputs/rdar81590807.h -Xlinker %t/rdar81590807.o -parse-as-library %s -o %t/main\n// RUN: %target-codesign %t/ma... | dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\rdar81590807.swift | rdar81590807.swift | Swift | 1,727 | 0.95 | 0.163636 | 0.44 | awesome-app | 405 | 2025-07-03T10:44:41.656855 | Apache-2.0 | true | 64892ea4f15a75659867ea2a584ee5cd |
// RUN: %empty-directory(%t)\n// RUN: %target-clang %S/Inputs/rdar81590807_2.m -I %S/Inputs -c -o %t/rdar81590807_2.o\n// RUN: %target-build-swift -Xfrontend -disable-availability-checking -import-objc-header %S/Inputs/rdar81590807_2.h -Xlinker %t/rdar81590807_2.o -parse-as-library %s -o %t/main\n// RUN: %target-codesi... | dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\rdar81590807_2.swift | rdar81590807_2.swift | Swift | 1,382 | 0.95 | 0.173913 | 0.404762 | vue-tools | 645 | 2024-09-21T03:21:09.428093 | MIT | true | d24054ef07062be54939d4f48235ee26 |
// RUN: %empty-directory(%t)\n// RUN: %target-clang %S/Inputs/rdar81617749.m -I %S/Inputs -c -o %t/rdar81617749.o\n// RUN: %target-build-swift -Xfrontend -disable-availability-checking -import-objc-header %S/Inputs/rdar81617749.h -Xlinker %t/rdar81617749.o -parse-as-library %s -o %t/main\n// RUN: %target-codesign %t/ma... | dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\rdar81617749.swift | rdar81617749.swift | Swift | 4,582 | 0.95 | 0.205674 | 0.4375 | node-utils | 961 | 2024-02-04T00:00:49.088374 | GPL-3.0 | true | 328136b4ed0ba28346a86c3be6ac636f |
// RUN: %target-swift-frontend %s -emit-silgen\n\nstruct Boom: Decodable {}\n\nenum Whiz: Decodable {\n case bang(_ boom: Boom)\n}\n | dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\rdar86339848.swift | rdar86339848.swift | Swift | 126 | 0.8 | 0 | 0.2 | python-kit | 756 | 2024-08-04T04:47:38.543141 | MIT | true | bd2b5620432f1193a98a39fb812c225e |
// RUN: %target-swift-frontend -emit-ir -target %target-cpu-apple-macosx10.15 %s\n// REQUIRES: OS=macosx\n\nprotocol P {}\n\nfunc one() -> some P {\n return two()\n}\n\nfunc two() -> some P {\n return three()\n}\n\nfunc three() -> some P {\n return one()\n}\n | dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\rdar87121502.swift | rdar87121502.swift | Swift | 252 | 0.8 | 0 | 0.166667 | python-kit | 5 | 2024-03-23T06:42:55.454209 | MIT | true | e0a319c68954f2f4501fc782fc9505ce |
// RUN: %target-swift-frontend -emit-sil %s -o /dev/null\n\n// For OSLogTestHelper.\n// REQUIRES: VENDOR=apple\n\nimport OSLogTestHelper\n\nstruct Thing {\n let guts: AnyObject\n}\n\nfunc getThings() -> [Thing] { [] }\n\nfunc run() {\n var things: [Thing]\n while(true) {\n things = getThings()\n OSLogMessage("... | dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\rdar89984216.swift | rdar89984216.swift | Swift | 335 | 0.95 | 0.047619 | 0.2 | vue-tools | 164 | 2025-01-04T19:09:05.203125 | GPL-3.0 | true | 27175a2facb013273a8fc3a88b8ca9f8 |
// RUN: %target-swift-frontend -typecheck %s\n\n// REQUIRES: concurrency\n\n@available(SwiftStdlib 5.1, *)\nextension Actor {\n func f() { }\n\n func g(a: [Int]) {\n a.forEach { i in\n f()\n }\n }\n}\n | dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\rdar94976378.swift | rdar94976378.swift | Swift | 201 | 0.8 | 0 | 0.181818 | python-kit | 652 | 2025-04-06T08:46:20.582909 | BSD-3-Clause | true | 7e98614f6dab8ca6891240de69450948 |
// RUN: %target-typecheck-verify-swift\n\n@resultBuilder\nstruct ViewBuilder {\n static func buildBlock(_ x: Int) -> Int { x }\n}\n\nfunc test(_: () -> Void) -> Int {\n return 42\n}\n\nstruct MyView {\n @ViewBuilder var body: Int {\n test {\n "ab" is Unknown // expected-error{{cannot find type 'Unknown' in s... | dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\rdar95629905.swift | rdar95629905.swift | Swift | 342 | 0.8 | 0 | 0.0625 | react-lib | 593 | 2023-09-18T00:09:52.026942 | Apache-2.0 | true | 6fd3bf76aa0b4ed69ac64eb1fa5a5955 |
// RUN: %target-swift-frontend -emit-ir %s\n\npublic typealias OnValue<Value> = () -> Value\n\npublic protocol SubjectProtocol<Value> {\n associatedtype Value\n\n func value() -> Value\n func onValue(_ onValue: @escaping OnValue<Value>) -> any SubjectProtocol<Value>\n}\n\nclass Subject<Value>: SubjectProtocol ... | dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\rdar98615954.swift | rdar98615954.swift | Swift | 967 | 0.95 | 0.047619 | 0.032258 | python-kit | 421 | 2024-07-24T02:35:53.106604 | Apache-2.0 | true | bf0aa0bba26ec74e876ad7467835d659 |
// RUN: not %target-swift-frontend -disable-availability-checking -emit-ir %s\n\nprotocol P<X, Y> {\n associatedtype X : P\n associatedtype Y : P\n\n var x: X { get }\n var y: Y { get }\n}\n\nextension Int: P {\n typealias X = Int\n typealias Y = Int\n\n var x: X { 0 }\n var y: X { 0 }\n}\n\nstruct Foo<T: P>: P... | dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\unsupported_recursive_opaque_conformance.swift | unsupported_recursive_opaque_conformance.swift | Swift | 470 | 0.8 | 0 | 0.05 | python-kit | 472 | 2024-02-17T10:36:29.052272 | BSD-3-Clause | true | 58e88e983f5f9290b19ab49a26db0908 |
import Foundation\n\nclass MyCls: NSObject {\n}\n\nextension MyCls {\n @objc func something(_: Bool) {}\n}\n | dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\Inputs\0178-rdar-45060773-other.swift | 0178-rdar-45060773-other.swift | Swift | 101 | 0.85 | 0.125 | 0 | awesome-app | 40 | 2024-09-13T22:06:57.218941 | BSD-3-Clause | true | 8b7ddd621829ac57011fc2626f2bba38 |
protocol MagicStringInterpolationProtocol: StringInterpolationProtocol {}\n\nextension MagicStringInterpolationProtocol {\n mutating func appendInterpolation<Value>(_ value: Value) {}\n}\n\n | dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\Inputs\0208-rdar55864759-protocol.swift | 0208-rdar55864759-protocol.swift | Swift | 185 | 0.7 | 0 | 0 | node-utils | 941 | 2023-12-18T04:52:00.319820 | GPL-3.0 | true | 4b2eaf3828644c6a52c766c88e0fc671 |
struct S1: P1 {\n typealias P1_T1 = Int\n typealias P1_T2 = Range<Int>\n}\n\nstruct S2<P1_T1>: P1, P3 {\n typealias P1_T2 = [P1_T1]\n typealias P2_T = Int\n typealias P3_T = S1\n}\n | dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\Inputs\issue-51714-other.swift | issue-51714-other.swift | Swift | 186 | 0.7 | 0 | 0 | react-lib | 103 | 2025-01-18T10:07:55.940443 | BSD-3-Clause | true | bd22ba59c279d94c5fce5afe520a558a |
protocol Snapshotting {\n associatedtype NativeType: NativeInserting where NativeType.SnapshotType == Self\n associatedtype ChangeType: SnapshotChange where ChangeType.SnapshotType == Self\n}\n\nprotocol NativeInserting {\n associatedtype SnapshotType : Snapshotting where SnapshotType.NativeType == Self\n}\n\n... | dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\Inputs\issue-53550-other.swift | issue-53550-other.swift | Swift | 579 | 0.7 | 0 | 0 | node-utils | 814 | 2024-07-15T13:30:17.691380 | GPL-3.0 | true | 6a393ebb861094568140a0a3ca85b391 |
import BaseLib\n\nextension Base {\n#if VALID\n convenience init(foo: String) {\n fatalError()\n }\n#else\n init(foo: String) {\n fatalError()\n }\n#endif\n}\n | dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\Inputs\0068-issue-46438\other.swift | other.swift | Swift | 156 | 0.95 | 0.076923 | 0.25 | python-kit | 823 | 2025-03-23T19:25:51.052581 | Apache-2.0 | true | 42f6e41f05218a41acf981c6203c4c1f |
// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swift.org/LICENSE.txt for license information\n// See https://swift.org/CONTRIBUTORS.txt f... | dataset_sample\swift\apple_swift\validation-test\compiler_crashers_fixed\00006-swift-mangle-mangler-manglecontext.swift | 00006-swift-mangle-mangler-manglecontext.swift | Swift | 604 | 0.95 | 0.166667 | 0.6 | vue-tools | 575 | 2024-06-01T12:37:20.358103 | GPL-3.0 | true | c0df17365e8643ee2964db5916237e62 |
// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swift.org/LICENSE.txt for license information\n// See https://swift.org/CONTRIBUTORS.txt f... | dataset_sample\swift\apple_swift\validation-test\compiler_crashers_fixed\00007-convenience-init-in-extension.swift | 00007-convenience-init-in-extension.swift | Swift | 634 | 0.95 | 0.115385 | 0.428571 | vue-tools | 974 | 2024-12-22T19:21:26.866321 | Apache-2.0 | true | 0ae51d539870623daee69a461099b965 |
// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swift.org/LICENSE.txt for license information\n// See https://swift.org/CONTRIBUTORS.txt f... | dataset_sample\swift\apple_swift\validation-test\compiler_crashers_fixed\00012-emitdirecttypemetadataref.swift | 00012-emitdirecttypemetadataref.swift | Swift | 628 | 0.8 | 0.111111 | 0.733333 | awesome-app | 649 | 2023-09-26T21:49:04.659267 | GPL-3.0 | true | a1d1ecb64bd580a1cb67ec7e38862ad8 |
// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swift.org/LICENSE.txt for license information\n// See https://swift.org/CONTRIBUTORS.txt f... | dataset_sample\swift\apple_swift\validation-test\compiler_crashers_fixed\00018-swift-irgen-emitpolymorphicarguments.swift | 00018-swift-irgen-emitpolymorphicarguments.swift | Swift | 514 | 0.8 | 0.117647 | 0.642857 | vue-tools | 15 | 2023-08-12T21:51:20.341845 | Apache-2.0 | true | 928c4607477f33ea1ca131524c62ec6d |
// This source file is part of the Swift.org open source project\n// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swift.org/LICENSE.txt for license information\n// See https://swift.org/CONTRIBUTORS.txt for t... | dataset_sample\swift\apple_swift\validation-test\compiler_crashers_fixed\00020-swift-typechecker-conformstoprotocol.swift | 00020-swift-typechecker-conformstoprotocol.swift | Swift | 523 | 0.95 | 0.136364 | 0.333333 | node-utils | 776 | 2023-09-06T14:17:08.655181 | BSD-3-Clause | true | 5e7e8a40fafce7197bbdaf747ea1436d |
// This source file is part of the Swift.org open source project\n// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swift.org/LICENSE.txt for license information\n// See https://swift.org/CONTRIBUTORS.txt for t... | dataset_sample\swift\apple_swift\validation-test\compiler_crashers_fixed\00023-getcallerdefaultarg.swift | 00023-getcallerdefaultarg.swift | Swift | 615 | 0.8 | 0.117647 | 0.714286 | node-utils | 402 | 2025-04-07T22:42:00.860453 | Apache-2.0 | true | e0141f42550208735147f9f3ca099e31 |
// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swift.org/LICENSE.txt for license information\n// See https://swift.org/CONTRIBUTORS.txt f... | dataset_sample\swift\apple_swift\validation-test\compiler_crashers_fixed\00024-emitdirecttypemetadataref.swift | 00024-emitdirecttypemetadataref.swift | Swift | 592 | 0.8 | 0.117647 | 0.785714 | python-kit | 228 | 2025-01-13T10:18:01.782273 | Apache-2.0 | true | 084c8a05e497045840b474e464c72461 |
// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swift.org/LICENSE.txt for license information\n// See https://swift.org/CONTRIBUTORS.txt f... | dataset_sample\swift\apple_swift\validation-test\compiler_crashers_fixed\00025-no-stacktrace.swift | 00025-no-stacktrace.swift | Swift | 649 | 0.8 | 0.090909 | 0.578947 | node-utils | 668 | 2023-09-16T11:29:29.833462 | BSD-3-Clause | true | b61ff5375c3e5867718160f8fe2deb7a |
// This source file is part of the Swift.org open source project\n// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swift.org/LICENSE.txt for license information\n// See https://swift.org/CONTRIBUTORS.txt for t... | dataset_sample\swift\apple_swift\validation-test\compiler_crashers_fixed\00027-void-map-over-sequence.swift | 00027-void-map-over-sequence.swift | Swift | 641 | 0.95 | 0.157895 | 0.5625 | react-lib | 925 | 2024-08-19T00:25:00.834564 | BSD-3-Clause | true | cc6b030699f22325d8a5694340a24e72 |
// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swift.org/LICENSE.txt for license information\n// See https://swift.org/CONTRIBUTORS.txt f... | dataset_sample\swift\apple_swift\validation-test\compiler_crashers_fixed\00029-class-with-anyobject-type-constraint.swift | 00029-class-with-anyobject-type-constraint.swift | Swift | 503 | 0.95 | 0.214286 | 0.818182 | vue-tools | 975 | 2023-12-10T01:31:11.400985 | MIT | true | 0b344d8e9aa5b7064cc9ba09160a981d |
// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swift.org/LICENSE.txt for license information\n// See https://swift.org/CONTRIBUTORS.txt f... | dataset_sample\swift\apple_swift\validation-test\compiler_crashers_fixed\00036-szone-malloc-should-clear.swift | 00036-szone-malloc-should-clear.swift | Swift | 811 | 0.8 | 0.076923 | 0.434783 | vue-tools | 611 | 2023-09-16T12:46:06.192149 | MIT | true | 16e89782d320d60b296c8dd1378aaeb7 |
// This source file is part of the Swift.org open source project\n// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swift.org/LICENSE.txt for license information\n// See https://swift.org/CONTRIBUTORS.txt for t... | dataset_sample\swift\apple_swift\validation-test\compiler_crashers_fixed\00037-no-stacktrace.script.swift | 00037-no-stacktrace.script.swift | Swift | 560 | 0.8 | 0.153846 | 0.9 | react-lib | 701 | 2024-05-17T02:08:03.390347 | BSD-3-Clause | true | cb89c795d79095e070ef261e1a5927aa |
// This source file is part of the Swift.org open source project\n// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swift.org/LICENSE.txt for license information\n// See https://swift.org/CONTRIBUTORS.txt for t... | dataset_sample\swift\apple_swift\validation-test\compiler_crashers_fixed\00039-string-join.script.swift | 00039-string-join.script.swift | Swift | 524 | 0.8 | 0.142857 | 0.9 | python-kit | 788 | 2023-10-01T03:55:36.717880 | Apache-2.0 | true | 090df28c306ce12734bd0a0b87bc4328 |
// This source file is part of the Swift.org open source project\n// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swift.org/LICENSE.txt for license information\n// See https://swift.org/CONTRIBUTORS.txt for t... | dataset_sample\swift\apple_swift\validation-test\compiler_crashers_fixed\00040-std-function-func-swift-constraints-solution-computesubstitutions.swift | 00040-std-function-func-swift-constraints-solution-computesubstitutions.swift | Swift | 663 | 0.8 | 0.1875 | 0.692308 | awesome-app | 971 | 2025-05-10T19:14:50.723462 | MIT | true | 0b8fdd430b6b647291d72f1e0102a24f |
// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swift.org/LICENSE.txt for license information\n// See https://swift.org/CONTRIBUTORS.txt f... | dataset_sample\swift\apple_swift\validation-test\compiler_crashers_fixed\00043-substdependenttypes.swift | 00043-substdependenttypes.swift | Swift | 559 | 0.95 | 0.157895 | 0.5625 | node-utils | 408 | 2025-03-06T05:19:06.378539 | Apache-2.0 | true | 071388d16c4a8a4d9f4066079219a106 |
// This source file is part of the Swift.org open source project\n// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swift.org/LICENSE.txt for license information\n// See https://swift.org/CONTRIBUTORS.txt for t... | dataset_sample\swift\apple_swift\validation-test\compiler_crashers_fixed\00046-swift-archetypebuilder-potentialarchetype-getnestedtype.timeout.swift | 00046-swift-archetypebuilder-potentialarchetype-getnestedtype.timeout.swift | Swift | 461 | 0.8 | 0.153846 | 0.583333 | react-lib | 652 | 2024-05-16T06:07:42.538683 | GPL-3.0 | true | 4c50ca27530c77e6606b32055ec6ff01 |
// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swift.org/LICENSE.txt for license information\n// See https://swift.org/CONTRIBUTORS.txt f... | dataset_sample\swift\apple_swift\validation-test\compiler_crashers_fixed\00047-emitdirecttypemetadataref.swift | 00047-emitdirecttypemetadataref.swift | Swift | 582 | 0.8 | 0.117647 | 0.785714 | awesome-app | 966 | 2024-03-05T05:47:05.479619 | GPL-3.0 | true | 9250a3afa247cd539ef5b407b9d37ae4 |
// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swift.org/LICENSE.txt for license information\n// See https://swift.org/CONTRIBUTORS.txt f... | dataset_sample\swift\apple_swift\validation-test\compiler_crashers_fixed\00049-swift-nominaltypedecl-getmembers.swift | 00049-swift-nominaltypedecl-getmembers.swift | Swift | 541 | 0.8 | 0.111111 | 0.6 | vue-tools | 994 | 2023-11-06T06:01:06.013323 | MIT | true | c0425bbb6f7f9f2347b7f14987e93a24 |
// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swift.org/LICENSE.txt for license information\n// See https://swift.org/CONTRIBUTORS.txt f... | dataset_sample\swift\apple_swift\validation-test\compiler_crashers_fixed\00051-resolvetypedecl.swift | 00051-resolvetypedecl.swift | Swift | 491 | 0.8 | 0.142857 | 0.818182 | python-kit | 139 | 2024-04-24T12:33:56.054601 | GPL-3.0 | true | 788a67036348d39dfd449c03d5d9ecec |
// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swift.org/LICENSE.txt for license information\n// See https://swift.org/CONTRIBUTORS.txt f... | dataset_sample\swift\apple_swift\validation-test\compiler_crashers_fixed\00052-no-stacktrace.swift | 00052-no-stacktrace.swift | Swift | 774 | 0.8 | 0.103448 | 0.423077 | awesome-app | 676 | 2023-08-23T08:23:34.539656 | GPL-3.0 | true | f0416fc77096d84cdf3240237fd881da |
// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swift.org/LICENSE.txt for license information\n// See https://swift.org/CONTRIBUTORS.txt f... | dataset_sample\swift\apple_swift\validation-test\compiler_crashers_fixed\00053-std-function-func-swift-type-subst.swift | 00053-std-function-func-swift-type-subst.swift | Swift | 611 | 0.8 | 0.142857 | 0.818182 | awesome-app | 82 | 2024-01-14T19:04:54.585474 | Apache-2.0 | true | 860ff7d5b3231e50bb41e7b14bde4934 |
// This source file is part of the Swift.org open source project\n// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swift.org/LICENSE.txt for license information\n// See https://swift.org/CONTRIBUTORS.txt for t... | dataset_sample\swift\apple_swift\validation-test\compiler_crashers_fixed\00056-addminimumprotocols.swift | 00056-addminimumprotocols.swift | Swift | 455 | 0.8 | 0.166667 | 0.636364 | vue-tools | 957 | 2025-05-04T07:07:05.489611 | GPL-3.0 | true | ed33ca36664ff700ced716fa1dc70da8 |
// This source file is part of the Swift.org open source project\n// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swift.org/LICENSE.txt for license information\n// See https://swift.org/CONTRIBUTORS.txt for t... | dataset_sample\swift\apple_swift\validation-test\compiler_crashers_fixed\00057-get-type-of-member-reference.swift | 00057-get-type-of-member-reference.swift | Swift | 554 | 0.95 | 0.263158 | 0.388889 | awesome-app | 826 | 2024-02-15T11:10:55.085054 | MIT | true | bc3cd2170db8dd30e1b0409cb05434fd |
// This source file is part of the Swift.org open source project\n// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swift.org/LICENSE.txt for license information\n// See https://swift.org/CONTRIBUTORS.txt for t... | dataset_sample\swift\apple_swift\validation-test\compiler_crashers_fixed\00058-get-self-type-for-container.swift | 00058-get-self-type-for-container.swift | Swift | 423 | 0.8 | 0.2 | 0.777778 | node-utils | 148 | 2023-08-10T18:21:22.676192 | MIT | true | 77a803fdc970014a6b1fb7bad60cb13c |
// This source file is part of the Swift.org open source project\n// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swift.org/LICENSE.txt for license information\n// See https://swift.org/CONTRIBUTORS.txt for t... | dataset_sample\swift\apple_swift\validation-test\compiler_crashers_fixed\00060-adjust-function-type.swift | 00060-adjust-function-type.swift | Swift | 403 | 0.8 | 0.222222 | 0.875 | vue-tools | 826 | 2024-03-31T03:25:56.147728 | BSD-3-Clause | true | 2fbe605b58c0600f941bb6711354fa21 |
// This source file is part of the Swift.org open source project\n// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swift.org/LICENSE.txt for license information\n// See https://swift.org/CONTRIBUTORS.txt for t... | dataset_sample\swift\apple_swift\validation-test\compiler_crashers_fixed\00062-ioctl.swift | 00062-ioctl.swift | Swift | 1,096 | 0.95 | 0.117647 | 0.14 | awesome-app | 546 | 2025-01-28T17:28:09.241733 | GPL-3.0 | true | 065ca7461b15cbdafce4f218ed21f002 |
// This source file is part of the Swift.org open source project\n// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swift.org/LICENSE.txt for license information\n// See https://swift.org/CONTRIBUTORS.txt for t... | dataset_sample\swift\apple_swift\validation-test\compiler_crashers_fixed\00063-tiny-malloc-from-free-list.swift | 00063-tiny-malloc-from-free-list.swift | Swift | 559 | 0.95 | 0.181818 | 0.333333 | python-kit | 49 | 2023-09-01T18:47:55.655566 | BSD-3-Clause | true | 04d1df5eb06076cc79b282b183385175 |
// This source file is part of the Swift.org open source project\n// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swift.org/LICENSE.txt for license information\n// See https://swift.org/CONTRIBUTORS.txt for t... | dataset_sample\swift\apple_swift\validation-test\compiler_crashers_fixed\00064-bool.swift | 00064-bool.swift | Swift | 678 | 0.8 | 0.064516 | 0.233333 | awesome-app | 172 | 2025-06-05T20:14:17.441688 | MIT | true | 65a964498703a8d6169651469e8f0dfb |
// This source file is part of the Swift.org open source project\n// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swift.org/LICENSE.txt for license information\n// See https://swift.org/CONTRIBUTORS.txt for t... | dataset_sample\swift\apple_swift\validation-test\compiler_crashers_fixed\00065-cerror.swift | 00065-cerror.swift | Swift | 621 | 0.95 | 0.166667 | 0.304348 | node-utils | 275 | 2025-01-06T19:31:27.556196 | MIT | true | 99ad5cc9ba3954ac253b93264319c252 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.