mirror of
https://github.com/luau-lang/rfcs.git
synced 2025-04-05 02:50:59 +01:00
Update user_defineable_self_namecall_type.md
This commit is contained in:
parent
75464d5752
commit
5ba1c7bc55
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
||||||
## Summary
|
## Summary
|
||||||
|
|
||||||
|
|
||||||
The aim is to allow simple definition of ``self`` when defining functions with ``:``
|
The aim is to allow simple definition of ``self`` when defining functions with ``:`` in a class OOP context
|
||||||
|
|
||||||
```lua
|
```lua
|
||||||
function Class:TestMethod()
|
function Class:TestMethod()
|
||||||
|
|
Loading…
Add table
Reference in a new issue