File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
compiler/src/dotty/tools/dotc/core Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -368,7 +368,7 @@ object Types {
368
368
case AppliedType (tycon, args) => tycon.unusableForInference || args.exists(_.unusableForInference)
369
369
case RefinedType (parent, _, rinfo) => parent.unusableForInference || rinfo.unusableForInference
370
370
case TypeBounds (lo, hi) => lo.unusableForInference || hi.unusableForInference
371
- case tp : FlexibleType => tp. underlying.unusableForInference || tp.lo .unusableForInference
371
+ case FlexibleType (underlying) => underlying.unusableForInference
372
372
case tp : AndOrType => tp.tp1.unusableForInference || tp.tp2.unusableForInference
373
373
case tp : LambdaType => tp.resultType.unusableForInference || tp.paramInfos.exists(_.unusableForInference)
374
374
case WildcardType (optBounds) => optBounds.unusableForInference
You can’t perform that action at this time.
0 commit comments