Advertisement
tinyevil

Untitled

Jan 12th, 2019
306
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement