diff options
author | liu fengyun <liu@fengy.me> | 2017-03-14 07:07:04 +0100 |
---|---|---|
committer | liu fengyun <liu@fengy.me> | 2017-03-14 09:15:00 +0100 |
commit | 6cc666f316575415d2d1779da3f7404fe9f04e3d (patch) | |
tree | 5888d558917ef56e30a5fc545a227892fab416da /compiler/src/dotty/tools | |
parent | 921f8bffc18b19449b2c1ad68c32725a7b7532e2 (diff) | |
download | dotty-6cc666f316575415d2d1779da3f7404fe9f04e3d.tar.gz dotty-6cc666f316575415d2d1779da3f7404fe9f04e3d.tar.bz2 dotty-6cc666f316575415d2d1779da3f7404fe9f04e3d.zip |
fix #2071: handle HKApply in SAMType
Diffstat (limited to 'compiler/src/dotty/tools')
-rw-r--r-- | compiler/src/dotty/tools/dotc/core/Types.scala | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/src/dotty/tools/dotc/core/Types.scala b/compiler/src/dotty/tools/dotc/core/Types.scala index 639f5d142..2e471215b 100644 --- a/compiler/src/dotty/tools/dotc/core/Types.scala +++ b/compiler/src/dotty/tools/dotc/core/Types.scala @@ -3328,6 +3328,8 @@ object Types { zeroParamClass(tp.underlying) case tp: TypeVar => zeroParamClass(tp.underlying) + case tp: HKApply => + zeroParamClass(tp.superType) case _ => NoType } |