Skip to content

Commit f435850

Browse files
committed
Use ProblemInUnderlying consistently
1 parent 58aabb4 commit f435850

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/core/CheckRealizable.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ class CheckRealizable(implicit ctx: Context) {
8080
else realizability(tp.info).mapError(r => new ProblemInUnderlying(tp.info, r))
8181
r andAlso {
8282
sym.setFlag(Stable)
83-
realizability(tp.prefix)
83+
realizability(tp.prefix).mapError(r => new ProblemInUnderlying(tp.prefix, r))
8484
}
8585
}
8686
if (r == Realizable || tp.info.isStableRealizable) Realizable else r

0 commit comments

Comments
 (0)