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:
53
53
private def symbolNotFound (binder : Type , name : Name , parent : Symbol )(using ctx : Context ): Unit =
54
54
warn(s " Ignoring ${name} of symbol ${parent}, type ${binder}" )
55
55
56
- private def unexpectedType (parent : Symbol , tpe : Type )(using Context ): Unit =
57
- warn(s " Unexpected type ${tpe} of symbol ${parent}" )
58
-
59
56
private def warn (msg : String )(using ctx : Context ): Unit =
60
57
report.warning(
61
58
s " Internal error in extracting SemanticDB while compiling ${ctx.compilationUnit.source}: ${msg}"
@@ -376,8 +373,7 @@ class TypeOps:
376
373
case _ : MatchType =>
377
374
s.Type .Empty
378
375
379
- case other =>
380
- unexpectedType(sym, other)
376
+ case _ =>
381
377
s.Type .Empty
382
378
}
383
379
loop(tpe)
You can’t perform that action at this time.
0 commit comments