Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Foo2
- fun ref odd() =>
- @printf[I32]("I'm expecially odd at line %d\n".cstring(), __loc.line())
- actor Main
- new create(env: Env) =>
- let b = Foo2() // Bug: the () are not needed here
- b.odd()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement