Corrected nSM forwarder rules cf. #34962

Change-Id: Ic1b6bb8fb1bbc18df3840d4af30878fd3be7aa98
Reviewed-on: https://dart-review.googlesource.com/c/82042
Reviewed-by: Lasse R.H. Nielsen <lrn@google.com>
This commit is contained in:
Erik Ernst
2018-10-30 10:42:34 +00:00
parent a1293f1591
commit 117c23fddb
+2 -1
View File
@@ -67,6 +67,7 @@
% must imply bound satisfaction everywhere in the body.
% - Specify that super-bounded generic type alias applications must trigger
% a well-boundedness check on all types occurring in the denoted type.
% - Corrected corner case of rules for generation of noSuchMethod forwarders.
%
% 2.0
% - Don't allow functions as assert test values.
@@ -1796,7 +1797,7 @@ because compilers control the treatment of private names.
It is a compile-time error if a concrete class $C$ has
a \code{noSuchMethod} forwarded method signature $S$
for a method named $m$,
and a superclass of $C$ has a concrete declaration of $m$
and a superclass of $C$ has an accessible concrete declaration of $m$
which is not a \code{noSuchMethod} forwarder.
\commentary{