Guest User

Untitled

a guest
May 27th, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. use "debug"
  2.  
  3.  
  4. actor Main
  5. var _str: String trn = recover trn String end
  6.  
  7. new create(env: Env) =>
  8. _str.append("test")
  9. let other = Other
  10. let old_str = _str = recover trn String end
  11. other.say(consume old_str)
  12.  
  13. actor Other
  14. be say(str: String) =>
  15. Debug("said " + str)
Add Comment
Please, Sign In to add comment