mirror of
https://github.com/luau-lang/rfcs.git
synced 2025-04-20 03:44:05 +01:00
Alex
This commit is contained in:
parent
8a8f0480d0
commit
0e41e82349
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ The `@deprecated` attribute can only be used on named functions and methods. It
|
|||
| `@deprecated` | `"Function 'foo' is deprecated."` |
|
||||
| `@[deprecated {reason = string}]` | `"Function 'foo' is deprecated. <reason>"` |
|
||||
| `@[deprecated {use = string}]` | `"Function 'foo' is deprecated, use '<use>' instead."` |
|
||||
| `@[deprecated {reason = string, use = string}]` | `"Function 'foo' is deprecated, use '<use>' instead. <reason>` |
|
||||
| `@[deprecated {reason = string, use = string}]` | `"Function 'foo' is deprecated, use '<use>' instead. <reason>"` |
|
||||
|
||||
If `foo` is a member of class `bar`, the warning messages above will start as `"Member 'bar.foo' is deprecated ...`.
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue