SHARE
TWEET

Untitled

a guest Apr 19th, 2019 88 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // before
  2. function foo(): void { /* foo_body */ }
  3.  
  4. //after
  5. function foo(): void {
  6.     vec<function(): void> $dyn = vec[foo_inner];
  7.     $dyn[0]()
  8. }
  9.  
  10. <<__Deprecated("This function has being replaced by do_that", 7)>>
  11. function foo_inner(): void { /* foo_body */ }
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
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top