Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- use "debug"
- actor Main
- var _str: String trn = recover trn String end
- new create(env: Env) =>
- _str.append("test")
- let other = Other
- let old_str = _str = recover trn String end
- other.say(consume old_str)
- actor Other
- be say(str: String) =>
- Debug("said " + str)
Add Comment
Please, Sign In to add comment