Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Blah: class {
- bar: Func
- baz: Func
- foo: func() {
- derp: String
- this bar = func {
- derp = "derp"
- }
- this baz = func {
- (derp + (" herp")) println() // segfault
- }
- }
- }
- main: func {
- b := Blah new()
- b foo()
- b bar()
- b baz()
- }
Add Comment
Please, Sign In to add comment