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