We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef200be commit 9dd31f8Copy full SHA for 9dd31f8
compiler/src/dotty/tools/dotc/core/CheckRealizable.scala
@@ -93,7 +93,7 @@ class CheckRealizable(implicit ctx: Context) {
93
// The symbol itself is stable, cache this information:
94
sym.setFlag(Stable)
95
// Realizability now depends on the prefix:
96
- patchRealizability(realizability(tp.prefix))
+ patchRealizability(realizability(tp.prefix).mapError(r => new ProblemInUnderlying(tp.prefix, r)))
97
} else if (!sym.isEffectivelyFinal)
98
patchRealizability(new NotFinal(sym))
99
else
0 commit comments