@@ -42,6 +42,9 @@ def initial():
4242""" ),
4343"""
4444import Masonry
45+ class A {
46+ let d = UIView().mas_top
47+ }
4548""" )
4649
4750def addSwiftPod ():
@@ -55,6 +58,10 @@ def addSwiftPod():
5558"""
5659import RxCocoa
5760import Literal
61+ class A {
62+ let a: CGRect = [1,2,3,4]
63+ func dd() { NSObject().rx.observe(CGRect.self, "frame") }
64+ }
5865""" )
5966
6067def revertToSourceCode ():
@@ -67,7 +74,13 @@ def revertToSourceCode():
6774""" ),
6875"""
6976import RxCocoa
77+ import RxSwift
7078import Literal
79+ class A {
80+ let a: CGRect = [1,2,3,4]
81+ let b = Observable.just(1)
82+ func dd() { NSObject().rx.observe(CGRect.self, "frame") }
83+ }
7184""" )
7285
7386def addDifferentNamePod ():
@@ -83,6 +96,11 @@ def addDifferentNamePod():
8396import Masonry
8497import Literal
8598import Lottie
99+ class A {
100+ let a: CGRect = [1,2,3,4]
101+ let a2 = LOTAnimationView.self
102+ let d = UIView().mas_top
103+ }
86104""" )
87105
88106
@@ -99,6 +117,12 @@ def addSubPod():
99117import Literal
100118import Lottie
101119import AFNetworking
120+ class A {
121+ let a: CGRect = [1,2,3,4]
122+ let a2 = LOTAnimationView.self
123+ let b = AFNetworkReachabilityManager()
124+ let d = UIView().mas_top
125+ }
102126""" )
103127
104128def addVendoredLibPod ():
@@ -113,6 +137,11 @@ def addVendoredLibPod():
113137import Literal
114138import AFNetworking
115139import Instabug
140+ class A {
141+ let a: CGRect = [1,2,3,4]
142+ let b = AFNetworkReachabilityManager()
143+ let c = Instabug.self
144+ }
116145""" )
117146
118147def deleteAPod ():
@@ -124,6 +153,10 @@ def deleteAPod():
124153"""
125154import Literal
126155import AFNetworking
156+ class A {
157+ let a: CGRect = [1,2,3,4]
158+ let b = AFNetworkReachabilityManager()
159+ }
127160""" )
128161
129162def universalFlag ():
@@ -137,6 +170,10 @@ def universalFlag():
137170"""
138171import Literal
139172import AFNetworking
173+ class A {
174+ let a: CGRect = [1,2,3,4]
175+ let b = AFNetworkReachabilityManager()
176+ }
140177""" )
141178
142179def multiplePlatforms ():
0 commit comments