Skip to content

Commit b68a613

Browse files
committed
Add comment about default values of noSuchMethod forwarders being underspecified
1 parent 6ab5b5d commit b68a613

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

specification/dartLangSpec.tex

+3
Original file line numberDiff line numberDiff line change
@@ -3482,6 +3482,9 @@ \subsubsection{The Method \code{noSuchMethod}}
34823482
%% in order to be able to say this precisely.
34833483
A noSuchMethod forwarder is a concrete member of $C$
34843484
with the signature taken from the interface of $C$,
3485+
%% TODO: #3331 - The default values should be obtained from all declarations
3486+
%% that gave rise to this member signature in $C$, and it should be an error
3487+
%% when there are no default values or there are >=2 distinct default values.
34853488
and with the same default value for each optional parameter.
34863489
It can be invoked in an ordinary invocation and in a superinvocation,
34873490
and when $m$ is a method it can be closurized

0 commit comments

Comments
 (0)