From 68e8912aeb46d923e5eb76223fa084473c04fe64 Mon Sep 17 00:00:00 2001 From: Andrew Brogdon Date: Fri, 9 Feb 2024 13:49:02 -0800 Subject: [PATCH 1/2] Adds 'function' entry to the glossary. --- src/content/resources/glossary.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/content/resources/glossary.md b/src/content/resources/glossary.md index d3d1dc1a61..e4106a83c6 100644 --- a/src/content/resources/glossary.md +++ b/src/content/resources/glossary.md @@ -132,6 +132,15 @@ For additional details, see the [definiteAssignmentSpec]: https://github.com/dart-lang/language/blob/main/resources/type-system/flow-analysis.md +## Function + +"Function" refers to top-level functions, local functions, static +methods, and instance methods. + +For additional details, see the documentation on [Functions][_functions_]. + +[_functions_]: /language/functions + ## Irrefutable pattern _Irrefutable patterns_ are patterns that always match. From a7ec2eb470bb9ecbba50cc668fe74e0307458977 Mon Sep 17 00:00:00 2001 From: Andrew Brogdon Date: Fri, 9 Feb 2024 16:42:48 -0800 Subject: [PATCH 2/2] Update src/content/resources/glossary.md Co-authored-by: Marya <111139605+MaryaBelanger@users.noreply.github.com> --- src/content/resources/glossary.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/resources/glossary.md b/src/content/resources/glossary.md index e4106a83c6..30c51b0a73 100644 --- a/src/content/resources/glossary.md +++ b/src/content/resources/glossary.md @@ -134,7 +134,7 @@ For additional details, see the ## Function -"Function" refers to top-level functions, local functions, static +Unless noted otherwise, the term *function* refers to top-level functions, local functions, static methods, and instance methods. For additional details, see the documentation on [Functions][_functions_].