File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
compiler/src/dotty/tools/dotc/semanticdb Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -53,9 +53,6 @@ class TypeOps:
5353 private def symbolNotFound (binder : Type , name : Name , parent : Symbol )(using ctx : Context ): Unit =
5454 warn(s " Ignoring ${name} of symbol ${parent}, type ${binder}" )
5555
56- private def unexpectedType (parent : Symbol , tpe : Type )(using Context ): Unit =
57- warn(s " Unexpected type ${tpe} of symbol ${parent}" )
58-
5956 private def warn (msg : String )(using ctx : Context ): Unit =
6057 report.warning(
6158 s " Internal error in extracting SemanticDB while compiling ${ctx.compilationUnit.source}: ${msg}"
@@ -376,8 +373,7 @@ class TypeOps:
376373 case _ : MatchType =>
377374 s.Type .Empty
378375
379- case other =>
380- unexpectedType(sym, other)
376+ case _ =>
381377 s.Type .Empty
382378 }
383379 loop(tpe)
You can’t perform that action at this time.
0 commit comments