Skip to content

Commit fb6b63b

Browse files
committed
Merge pull request #2955 from practicalswift/swiftc-28310-swift-typechecker-checkgenericparamlist
2 parents 837fc58 + 1fa929d commit fb6b63b

File tree

1 file changed

+81
-0
lines changed

1 file changed

+81
-0
lines changed
Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
// This source file is part of the Swift.org open source project
2+
// Copyright (c) 2014 - 2016 Apple Inc. and the Swift project authors
3+
// Licensed under Apache License v2.0 with Runtime Library Exception
4+
//
5+
// See http://swift.org/LICENSE.txt for license information
6+
// See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
7+
8+
// RUN: not --crash %target-swift-frontend %s -parse
9+
yObject, x in 0
10+
class a{
11+
enum b {
12+
class A {
13+
class A {
14+
let i: c
15+
struct D{
16+
enum b {
17+
struct A : a {
18+
func f: b
19+
if true {
20+
class A {
21+
func d.j where g: j.j: j: Int = {
22+
map(x(object1: A? {
23+
class c
24+
func b: NSObject {{
25+
}
26+
class A : Int = b<T: (x()
27+
import Foundation
28+
var d<T
29+
enum b {
30+
func c
31+
if true {
32+
func f
33+
class A {
34+
class A : NSObject {
35+
class A {
36+
class A : NSManagedObject {
37+
if true {class B? {
38+
func a{
39+
func d.E
40+
func f: NSManagedObject {let:("
41+
func f<T>()?
42+
var f = c<I : Int = {
43+
class a {
44+
class a<T where T
45+
class A : NSManagedObject {
46+
var f : A : U : a {
47+
func f<T where g.E
48+
{
49+
va d<T -> {
50+
let a{
51+
var}
52+
var d {
53+
{
54+
struct D
55+
class b: a {{
56+
clas
57+
var b<T
58+
}
59+
if true {
60+
struct A {struct d<T where T where T>
61+
class d.h == compose() -> {
62+
class A : NSObject {
63+
let start = b<T where g: NSObject {
64+
func d
65+
class b
66+
class B<T where T>
67+
class B
68+
class b<T, j, x in 0
69+
struct d{
70+
var _ = c
71+
fum b {{
72+
class A {{struct S<T> {
73+
var f {let(x(
74+
func e, j.h == b{
75+
}
76+
class B? {{
77+
func e:b<c in 0
78+
S<T> U)"
79+
func c>() { p(s("
80+
func f: j.j where g: A {
81+
stru

0 commit comments

Comments
 (0)