diff options
author | Martin Odersky <odersky@gmail.com> | 2014-07-14 13:17:34 +0200 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2014-07-17 11:02:03 +0200 |
commit | ace968dabf8e02f725f7b77cde90f64988a7b326 (patch) | |
tree | 10b4bd92cf02a5a391296f32a51ce3d5ff0d3164 /tests/pending | |
parent | 57d69f8f4d00bef8cbb51d498b5139ca649a8ca6 (diff) | |
download | dotty-ace968dabf8e02f725f7b77cde90f64988a7b326.tar.gz dotty-ace968dabf8e02f725f7b77cde90f64988a7b326.tar.bz2 dotty-ace968dabf8e02f725f7b77cde90f64988a7b326.zip |
Fix to rewire types
t6574 has a new test where we produce identical code in an if-then-else. This broke
the rewiring logic before, and is fixed now.
Also, more comments and test cases.
Diffstat (limited to 'tests/pending')
-rw-r--r-- | tests/pending/pos/class-dependent-extension-method.scala | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/pending/pos/class-dependent-extension-method.scala b/tests/pending/pos/class-dependent-extension-method.scala new file mode 100644 index 000000000..b557dfa8f --- /dev/null +++ b/tests/pending/pos/class-dependent-extension-method.scala @@ -0,0 +1,3 @@ +class C(val a: String) extends AnyVal { + def foo[U <: a.type]: Unit = foo[U] +} |