Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function meta::test(arg2, arg1)
- end
- function meta::test(string arg1, string arg2)
- end
- function meta.test(meta self, string arg1, string arg2)
- end
- function meta.test(meta& self, string arg1, string arg2)
- end
- --- is translated to:
- function meta:test (arg2, arg1) expects(meta, nil, nil)
- end
- function meta:test (arg1, arg2) expects(meta, "string", "string")
- end
- function meta.test (self, arg1, arg2) expects("meta", "string", "string")
- end
- function meta.test (self, arg1, arg2) expects(meta, "string", "string")
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement