From bcf3b321ddc25d20d79f9b6dcf3ba9db07d52f54 Mon Sep 17 00:00:00 2001 From: Aviral Goel Date: Fri, 12 Jul 2024 11:02:12 -0700 Subject: [PATCH] Add methods --- docs/syntax-attribute-functions-deprecated.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/syntax-attribute-functions-deprecated.md b/docs/syntax-attribute-functions-deprecated.md index f0198c4..59b465c 100644 --- a/docs/syntax-attribute-functions-deprecated.md +++ b/docs/syntax-attribute-functions-deprecated.md @@ -24,7 +24,7 @@ The `@deprecated` attribute can take upto two named string parameters. The param | `@[deprecated {use = string}]` | `"Function 'foo' is deprecated. Use '' instead."` | | `@[deprecated {reason = string, use = string}]` | `"Function 'foo' is deprecated. Use '' instead. ` | -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