diff options
author | Martin Odersky <odersky@gmail.com> | 2016-06-20 13:01:16 +0200 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2016-07-11 13:35:03 +0200 |
commit | 98b466c14cda8ea5a9d2e8efdfada5b735bb4d95 (patch) | |
tree | 4f256a51a0ffdc10548f479b484114317e5797b5 /src/dotty/tools/dotc/core/Types.scala | |
parent | c1e27a035cccda42542e24f3fa6a57c6955c9923 (diff) | |
download | dotty-98b466c14cda8ea5a9d2e8efdfada5b735bb4d95.tar.gz dotty-98b466c14cda8ea5a9d2e8efdfada5b735bb4d95.tar.bz2 dotty-98b466c14cda8ea5a9d2e8efdfada5b735bb4d95.zip |
Ensure wildApprox maintains kinds
When approximating the constructor of an ak apply to a wildcard
type, approximate the whole application by WildcardType. Otherwise
we might have a wildcardtype with hk bounds as result.
Diffstat (limited to 'src/dotty/tools/dotc/core/Types.scala')
0 files changed, 0 insertions, 0 deletions