We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9553980 commit 239ec17Copy full SHA for 239ec17
compiler/src/dotty/tools/dotc/core/Types.scala
@@ -1916,8 +1916,6 @@ object Types {
1916
setDenot(memberDenot(name, allowPrivate = !symbol.exists || symbol.is(Private)))
1917
1918
private def setDenot(denot: Denotation)(implicit ctx: Context): Unit = {
1919
- if (ctx.isAfterTyper)
1920
- assert(!denot.isOverloaded || ctx.mode.is(Mode.Printing), this)
1921
if (Config.checkNoDoubleBindings)
1922
if (ctx.settings.YnoDoubleBindings.value)
1923
checkSymAssign(denot.symbol)
0 commit comments