Skip to content

Commit

Permalink
Added constraint that the colliding members must be concrete
Browse files Browse the repository at this point in the history
  • Loading branch information
eernstg committed May 10, 2021
1 parent e3b0735 commit 1d31e4d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions specification/dartLangSpec.tex
Original file line number Diff line number Diff line change
Expand Up @@ -5501,10 +5501,10 @@ \subsection{Mixin Application}
Let \DefineSymbol{L_M} be the library containing the declaration of $M$.

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

Expand Down

0 comments on commit 1d31e4d

Please sign in to comment.