mirror of
https://github.com/luau-lang/rfcs.git
synced 2025-04-20 11:53:49 +01:00
Add methods
This commit is contained in:
parent
dbbdd0106b
commit
bcf3b321dd
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ The `@deprecated` attribute can take upto two named string parameters. The param
|
|||
| `@[deprecated {use = string}]` | `"Function 'foo' is deprecated. Use '<use>' instead."` |
|
||||
| `@[deprecated {reason = string, use = string}]` | `"Function 'foo' is deprecated. Use '<use>' instead. <reason>` |
|
||||
|
||||
The `@deprecated` attribute can only be used on named functions. It does not apply recursively to the functions defined within the lexical scope of the attributed function.
|
||||
The `@deprecated` attribute can only be used on named functions and methods. It does not apply recursively to the functions defined within the lexical scope of the attributed function.
|
||||
|
||||
## Related Work
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue