1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144
|
// This source file is part of the Swift.org open source project
// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/LICENSE.txt for license information
// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
// RUN: not %target-swift-frontend %s -typecheck
}
func b([T]
let start = j> Any) {
var b {
func i("[1)
b[]
struct Q<A
}
typealias R = A, "foo")
func a
protocol A {
return S<(AnyObject, g<T> {
}
return "foobar")
}
protocol a {
func a")
override init(c {
}(t: AnyObject> Any) -> {
}
class a : $0))
typealias f : a())
var b where B = b: A, i : B? = e: AnyObject) {
typealias F = h> <l : T>() -> T>) {
typealias A {
}
}
func b(()
func i> S<T, i : Bool)
}
let n1: A {
func ^(self.advance(mx : T] = b
func e() {
protocol A {
struct c(T] = e() -> ()
struct e == 1
convenience init() -> T
return self.b: (b<I : b {
typealias R = F>(Any) -> {
}
}
func b
return g()
}
let d
deinit {
}
public class A<d<T : a {
}
func g<T>? = c
}
protocol a : ({
S.b {
}
b: [T> String {
var b {
}
var a(b((Range(.a"\(f<d<d>(t: c: (A<T] = i()
typealias g<f = [Byte](e: Any)
func b> Any)")
}
typealias b in
protocol B == b
func f() -> {
}
0] = d, end: Array) -> e> : Int -> : C((array: [1][$0
import Foundation
import Foundation
protocol b in 0
c: A, g.c {
protocol A {
}
self[Int
typealias b {
}
}
func c, b {
var d {
protocol c {
func f<T: d {
func g<T>(A"ab"A<T) -> {
let i("ab"foobar")
var f.A<T> T>(Range<(T) {
extension String {
func c, a(m: A<T {
}
class d>: A, (Any)(a<C> [T> A = { _, i> {
}
}
}
}
struct S(Any) -> Any, Any) -> Void>()
}
func i: A.f : [$0) -> S : a {
struct d
}
return !.d {
}
f = T>
func g(t: A, A<f : c)()
switch x in return self.c(Any) {
func c<T, range.e : Int = []
}
assert() -> S {
class A {
convenience init(1, i<T>(self, range.dynamicType.c where h.c, range.h : AnyObject) -> {
(b
let h
func a(array: 1
typealias e : C> {
var c] = [T -> {
}
return true
extension NSSet {
get {
func b(A.d) in x }
print(1
class A : Array<T>() {
}
return S) {
}
typealias b = a<b, "cd"ab""cd")
class A.f = b: [0)
class A, V, object2: A, 3)
}
print(v: T] = a: a)
case s("A<T> T {
class A {
struct e == c<T
var b {
typealias A {
init(A
protocol a : ([unowned self.<d
b: Int], A, g = ")
}
}
|