File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
compiler/src/dotty/tools/dotc/transform Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -59,10 +59,10 @@ class PostTyper extends MacroTransform with SymTransformer { thisTransformer =>
59
59
60
60
import tpd ._
61
61
62
- def transformSym (sym : SymDenotation )(implicit ctx : Context ): SymDenotation = {
63
- if (sym .is(BindDefinedType ) && ctx.gadt.bounds.contains(sym .symbol)) {
64
- sym .copySymDenotation(info = ctx.gadt.bounds.apply(sym .symbol) & sym .info)
65
- } else sym
62
+ def transformSym (ref : SymDenotation )(implicit ctx : Context ): SymDenotation = {
63
+ if (ref .is(BindDefinedType ) && ctx.gadt.bounds.contains(ref .symbol)) {
64
+ ref .copySymDenotation(info = ctx.gadt.bounds.apply(ref .symbol) & ref .info)
65
+ } else ref
66
66
}
67
67
68
68
/** the following two members override abstract members in Transform */
You can’t perform that action at this time.
0 commit comments