You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From @eernstg on an internal thread discussing default parameter values.
That shouldn't actually happen, due to the following snippet in the spec: It is a compile-time error if an instance method $m_1$ overrides an instance member $m_2$, the signature of $m_2$ explicitly specifies a default value for a formal parameter $p$, and the signature of $m_1$ implies a different default value for $p$.
Neither the CFE produce an error or warning for this case.
From @eernstg on an internal thread discussing default parameter values.
Neither the CFE produce an error or warning for this case.
It's likely very breaking to change the tool behavior.
cc @leafpetersen @dgrove
The text was updated successfully, but these errors were encountered: