diff options
author | Adriaan Moors <adriaan.moors@epfl.ch> | 2012-06-12 17:17:46 +0200 |
---|---|---|
committer | Adriaan Moors <adriaan.moors@epfl.ch> | 2012-06-26 20:17:57 +0200 |
commit | 552ee9cc54e7045c066c4b915874b9d4de3b0b24 (patch) | |
tree | 10a3714231135d44d6f2e81c91b1ce92ddc5aab1 /test/files/neg | |
parent | 21814b53e963d0e762efb808a664dd2c8b6e67a1 (diff) | |
download | scala-552ee9cc54e7045c066c4b915874b9d4de3b0b24.tar.gz scala-552ee9cc54e7045c066c4b915874b9d4de3b0b24.tar.bz2 scala-552ee9cc54e7045c066c4b915874b9d4de3b0b24.zip |
better fix for SI-5189 pt1
the fix in 0cffdf38d9 was brain dead (only looking at the first argument of the ctor, rather than the first argument list)
the reasoning was that we should not look at the MethodType of the constructor,
but at the argument types directly (since going through the method type would flip variance,
though the ctor arguments are conceptually in covariant positions here)
Diffstat (limited to 'test/files/neg')
0 files changed, 0 insertions, 0 deletions