Chromium Code Reviews| Index: docs/language/dartLangSpec.tex |
| diff --git a/docs/language/dartLangSpec.tex b/docs/language/dartLangSpec.tex |
| index d0f62f2bbce8c323cf7d0d51e4f19cb4c584e135..79f57343dc8160f7844b51024a6ad6d4f681d060 100644 |
| --- a/docs/language/dartLangSpec.tex |
| +++ b/docs/language/dartLangSpec.tex |
| @@ -3710,7 +3710,7 @@ where $id$ is an identifier. |
| If there exists a lexically visible declaration named $id$, let $f_{id}$ be the innermost such declaration. Then: |
| \begin{itemize} |
| \item |
| -If $f_{id}$ is a prefix object, a compile-time error occurs. |
| +If $f_{id}$ is a prefix object or a type literal, a compile-time error occurs. |
|
Lasse Reichstein Nielsen
2016/10/24 10:36:59
We could add "or type variable", but it's not as n
Lasse Reichstein Nielsen
2016/10/24 10:36:59
This case was unhandeled in the existing specifica
|
| \item |
| If $f_{id}$ is a local function, a library function, a library or static getter or a variable then $i$ is interpreted as a function expression invocation (\ref{functionExpressionInvocation}). |
| \item |