diff options
author | Martin Odersky <odersky@gmail.com> | 2016-06-08 09:45:56 +0200 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2016-07-11 13:35:02 +0200 |
commit | f1bf78bf8ceb17bfe0b9dc57a6e6f03a9b59065f (patch) | |
tree | 394d08b0a35d420e86fa08642362426d27736aa9 /tests | |
parent | 5041e9311bf1845d09c6eeccba816214fe25a3e6 (diff) | |
download | dotty-f1bf78bf8ceb17bfe0b9dc57a6e6f03a9b59065f.tar.gz dotty-f1bf78bf8ceb17bfe0b9dc57a6e6f03a9b59065f.tar.bz2 dotty-f1bf78bf8ceb17bfe0b9dc57a6e6f03a9b59065f.zip |
Avoid creating dependent function types for closures
Without this step, anonymous functions can have dependent
types which causes the parameter references to "leak out"
to types in the environment in illegal ways. This caused
a tasty failure for Typer before (not sure why the failure
was not observed under the old hk scheme).
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions