SHARE
TWEET

Untitled

a guest Aug 19th, 2019 69 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. class Resolver {
  2. static var root = Resolver()
  3. func resolve<Service>(_ serviceType: Service.Type, name: String?) -> Service? {
  4.     return true as? Service
  5. }
  6.      
  7. init() {
  8.     print(flag)
  9.     $flag.name = 123
  10. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top