tinyevil Jan 12th, 2019 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. A{4, "W"}     // error
  2. A{a:4, b:"W"} // an instance of A
  3. A // in CTCE can be used to denote the class A, at runtime is an error (most likely)
  4. B
  5. B{} // if B has no fields, then an instance of B
  6. A.f  // static version of f from A, if f has self parameter then it is unbound
  7. A::f // or maybe this syntax, not sure
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