Skip to content

Commit f895c49

Browse files
committed
Add comment about default values of noSuchMethod forwarders being underspecified
1 parent e6aca8f commit f895c49

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

specification/dartLangSpec.tex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3554,6 +3554,9 @@ \subsubsection{The Method \code{noSuchMethod}}
35543554
%% in order to be able to say this precisely.
35553555
A noSuchMethod forwarder is a concrete member of $C$
35563556
with the signature taken from the interface of $C$,
3557+
%% TODO: #3331 - The default values should be obtained from all declarations
3558+
%% that gave rise to this member signature in $C$, and it should be an error
3559+
%% when there are no default values or there are >=2 distinct default values.
35573560
and with the same default value for each optional parameter.
35583561
It can be invoked in an ordinary invocation and in a superinvocation,
35593562
and when $m$ is a method it can be closurized

0 commit comments

Comments
 (0)