Skip to content

Commit f8dc8ff

Browse files
committed
Resolve rebase conflicts
1 parent a340bd3 commit f8dc8ff

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

specification/dartLangSpec.tex

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@
3434
% - Change grammar to enable non-function type aliases. Correct rule for
3535
% invoking `F.staticMethod()` where `F` is a type alias.
3636
% - Add missing error for cyclic redirecting generative constructor.
37+
% - Clarify rules about error on mixin application involving private
38+
% members in different library.
3739
%
3840
% 2.8 - 2.10
3941
% - Change several warnings to compile-time errors, matching the actual
@@ -5507,17 +5509,20 @@ \subsection{Mixin Application}
55075509
\LMHash{}%
55085510
Let \DefineSymbol{L_C} be the library containing the mixin application.
55095511
\commentary{%
5510-
That is, the library containing the clause \code{$S$ \WITH{} $M$}
5511-
or the clause \code{$S_0$ \WITH{} $M_1$, \ldots,\ $M_k$, $M$} giving rise
5512-
to the mixin application.%
5512+
That is, the library containing the clause
5513+
\code{$S_0$ \WITH{} \List{M}{1}{k}} where
5514+
$M$ is $M_j$ and
5515+
$S$ is \code{$S_0$ \WITH{} \List{M}{1}{j - 1}},
5516+
for some $j \in 1 .. k$
5517+
(so for $j = 1$ we have \code{$S$ \WITH{} $M$, \ldots}).%
55135518
}
55145519
Let \DefineSymbol{L_M} be the library containing the declaration of $M$.
55155520

55165521
\LMHash{}%
55175522
Assume that $S$ has a concrete member $m_S$ which is accessible to $L_M$,
55185523
that $m_S$ has the name $n$ which is private
55195524
(\commentary{so $m_S$ is declared in $L_M$}),
5520-
and that $M$ declares a concrete member $m_M$ which is also named $n$
5525+
and that $M$ declares a member $m_M$ which is also named $n$
55215526
\commentary{(note that $m_M$ is also declared in $L_M$)}.
55225527
In this case a compile-time error occurs.
55235528

0 commit comments

Comments
 (0)