diff options
author | odersky <odersky@gmail.com> | 2017-02-08 22:12:20 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-08 22:12:20 +1100 |
commit | 40954100fa0124e58dc203561ecf3ab082949f62 (patch) | |
tree | e2da9aa04bec174f8167b9017abb33fd10e81a38 /compiler/src/dotty/tools/dotc/typer/Namer.scala | |
parent | b77c24cde0caa59472108a068b4d802606ad5d1b (diff) | |
parent | 937cca038ad18a10e5b759c0a4e53578032fac7c (diff) | |
download | dotty-40954100fa0124e58dc203561ecf3ab082949f62.tar.gz dotty-40954100fa0124e58dc203561ecf3ab082949f62.tar.bz2 dotty-40954100fa0124e58dc203561ecf3ab082949f62.zip |
Merge pull request #1953 from dotty-staging/fix-wildapprox
Fix to wildapprox
Diffstat (limited to 'compiler/src/dotty/tools/dotc/typer/Namer.scala')
-rw-r--r-- | compiler/src/dotty/tools/dotc/typer/Namer.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/src/dotty/tools/dotc/typer/Namer.scala b/compiler/src/dotty/tools/dotc/typer/Namer.scala index 772d9385b..3860ba225 100644 --- a/compiler/src/dotty/tools/dotc/typer/Namer.scala +++ b/compiler/src/dotty/tools/dotc/typer/Namer.scala @@ -972,7 +972,7 @@ class Namer { typer: Typer => ctx.defContext(sym).denotNamed(original) def paramProto(paramss: List[List[Type]], idx: Int): Type = paramss match { case params :: paramss1 => - if (idx < params.length) wildApprox(params(idx)) + if (idx < params.length) wildApprox(params(idx), null, Set.empty) else paramProto(paramss1, idx - params.length) case nil => WildcardType |