File tree Expand file tree Collapse file tree 3 files changed +9
-7
lines changed
branches/swift-5.1-branch/test/Parse Expand file tree Collapse file tree 3 files changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -1242,7 +1242,7 @@ refs/heads/marcrasi-astverifier-disable: 3fac766a23a77ebd0640296bfd7fc116ea60a4e
1242
1242
refs/heads/revert-22227-a-tall-white-fountain-played: adfce60b2eaa54903ea189bed8a783bca609fa53
1243
1243
refs/heads/revert-22300-revert-22227-a-tall-white-fountain-played: 5f92040224df7dd4e618fdfb367349df64d8acad
1244
1244
refs/heads/swift-5.1-old-llvm-branch: 9cef8175146f25b72806154b8a0f4a3f52e3e400
1245
- refs/heads/swift-5.1-branch: 89903881f594a606af1fcf6f7db362f101727e63
1245
+ refs/heads/swift-5.1-branch: 7171c28197a3f75b8cb59e06eebef144bd3efc86
1246
1246
refs/tags/swift-4.2.2-RELEASE: e429d1f1aaf59e69d38207a96e56265c7f6fccec
1247
1247
refs/tags/swift-5.0-DEVELOPMENT-SNAPSHOT-2019-02-02-a: 3e5a03d32ff3b1e9af90d6c1198c14f938379a6e
1248
1248
refs/tags/swift-5.0-DEVELOPMENT-SNAPSHOT-2019-02-03-a: 4591c933063ddcb0d6cd6d0cdd01086b2f9b244d
Original file line number Diff line number Diff line change @@ -76,8 +76,6 @@ struct SomeProtoConformer : SomeProto {
76
76
func foo( ) -> String { " howdy " }
77
77
}
78
78
79
- class SomeClass { }
80
-
81
79
class Base { }
82
80
class Derived : Base { }
83
81
@@ -471,10 +469,6 @@ func ff_implicitOpenExistentialExpr(_ f: SomeProto) -> String {
471
469
f. foo ( )
472
470
}
473
471
474
- func ff_implicitClassMetatypeToAnyObjectExpr( ) -> AnyObject {
475
- SomeClass . self
476
- }
477
-
478
472
func ff_implicitInjectIntoOptionalExpr( _ int: Int ) -> Int ? {
479
473
int
480
474
}
Original file line number Diff line number Diff line change 1
1
// RUN: %target-swift-frontend %s -typecheck -verify
2
2
3
+ // REQUIRES: objc_interop
4
+
3
5
import Foundation
4
6
5
7
class DynamicSubscriptClass {
@@ -18,3 +20,9 @@ func ff_implicitKeyPathExpr() -> String {
18
20
#keyPath( NSArray . count)
19
21
}
20
22
23
+ class SomeClass { }
24
+
25
+ func ff_implicitClassMetatypeToAnyObjectExpr( ) -> AnyObject {
26
+ SomeClass . self
27
+ }
28
+
You can’t perform that action at this time.
0 commit comments