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 @@ -373,7 +373,7 @@ object Types {
373
373
case AppliedType (tycon, args) => tycon.unusableForInference || args.exists(_.unusableForInference)
374
374
case RefinedType (parent, _, rinfo) => parent.unusableForInference || rinfo.unusableForInference
375
375
case TypeBounds (lo, hi) => lo.unusableForInference || hi.unusableForInference
376
- case tp : FlexibleType => tp. underlying.unusableForInference || tp.lo .unusableForInference
376
+ case FlexibleType (underlying) => underlying.unusableForInference
377
377
case tp : AndOrType => tp.tp1.unusableForInference || tp.tp2.unusableForInference
378
378
case tp : LambdaType => tp.resultType.unusableForInference || tp.paramInfos.exists(_.unusableForInference)
379
379
case WildcardType (optBounds) => optBounds.unusableForInference
You can’t perform that action at this time.
0 commit comments