From ae1091805d944ba6df95ac4c5b9e25f4e229e7b8 Mon Sep 17 00:00:00 2001 From: Erik Ernst Date: Wed, 26 Apr 2017 16:11:57 +0200 Subject: [PATCH] Fixed typo: "keyword parameter" changed to "named parameter". Resolves https://github.com/dart-lang/sdk/issues/29464. R=lrn@google.com Review-Url: https://codereview.chromium.org/2838853003 . --- docs/language/dartLangSpec.tex | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/language/dartLangSpec.tex b/docs/language/dartLangSpec.tex index adec30a2e00..7efe14607b8 100644 --- a/docs/language/dartLangSpec.tex +++ b/docs/language/dartLangSpec.tex @@ -3501,8 +3501,11 @@ If $T$ is a deferred type with prefix $p$, then if $p$ has not been successfully Then, if $q$ is a non-factory constructor of an abstract class then an \code{AbstractClassInstantiationError} is thrown. \LMHash{} -If $T$ is malformed or if $T$ is a type variable a dynamic error occurs. In checked mode, if $T$ or any of its superclasses is malbounded a dynamic error occurs. -Otherwise, if $q$ is not defined or not accessible, a \code{NoSuchMethodError} is thrown. If $q$ has fewer than $n$ positional parameters or more than $n$ required parameters, or if $q$ lacks any of the keyword parameters $\{ x_{n+1}, \ldots, x_{n+k}\}$ a \code{NoSuchMethodError} is thrown. +If $T$ is malformed or if $T$ is a type variable a dynamic error occurs. +In checked mode, if $T$ or any of its superclasses is malbounded a dynamic error occurs. +Otherwise, if $q$ is not defined or not accessible, a \code{NoSuchMethodError} is thrown. +If $q$ has fewer than $n$ positional parameters or more than $n$ required parameters, +or if $q$ lacks any of the named parameters $\{ x_{n+1}, \ldots, x_{n+k}\}$ a \code{NoSuchMethodError} is thrown. \LMHash{} Otherwise, if $q$ is a generative constructor (\ref{generativeConstructors}), then: