Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions specification/dartLangSpec.tex
Original file line number Diff line number Diff line change
Expand Up @@ -12844,6 +12844,17 @@ \subsection{Function Closurization}
(\ref{statementCompletion})
as the invocation of $f$ would have yielded.

\LMHash{}%
Let $e_1$ and $e_2$ be two constant expressions that both
evaluate to a function object which is obtained by function closurization
of the same function declaration.
In this case \code{identical($e_1$, $e_2$)} shall evaluate to true.

\commentary{%
That is, constant expressions whose evaluation is a function closurization
are canonicalized.%
}


\subsubsection{Generic Function Instantiation}
\LMLabel{genericFunctionInstantiation}
Expand Down Expand Up @@ -13056,6 +13067,20 @@ \subsubsection{Generic Function Instantiation}
}
\EndCase

\LMHash{}%
Let $e_1$ and $e_2$ be two constant expressions that both
evaluate to a function object
which is obtained by generic function instantiation
of the same function declaration
and with the same type arguments.
In this case \code{identical($e_1$, $e_2$)} shall evaluate to true.

\commentary{%
That is, constant expressions whose evaluation is
a generic function instantiation
are canonicalized.%
}


\subsection{Lookup}
\LMLabel{lookup}
Expand Down