diff options
author | Hubert Plociniczak <hubert.plociniczak@gmail.com> | 2012-06-27 15:43:44 +0200 |
---|---|---|
committer | Hubert Plociniczak <hubert.plociniczak@gmail.com> | 2012-07-02 14:44:43 +0200 |
commit | 12b72485d873534bcce0b0564c99d89d6b1aa964 (patch) | |
tree | 35fded7d09ae48e053f580d6dff11323cd92f26e /test/files/neg/t649.check | |
parent | 5a7bbfe035ecb64acd57fc66ea0d874ad02c31ff (diff) | |
download | scala-12b72485d873534bcce0b0564c99d89d6b1aa964.tar.gz scala-12b72485d873534bcce0b0564c99d89d6b1aa964.tar.bz2 scala-12b72485d873534bcce0b0564c99d89d6b1aa964.zip |
Closes SI-5969.
Assumption that we enter tryTwice when inferring
the right alternative with an empty buffer is
wrong.
In this particular bug it manifested itself on
if/then/else which share the same context and 'else'
branch was simply flushing the buffer with an
error from the 'then' branch.
Diffstat (limited to 'test/files/neg/t649.check')
-rw-r--r-- | test/files/neg/t649.check | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/neg/t649.check b/test/files/neg/t649.check index a6670886b5..5a270d4751 100644 --- a/test/files/neg/t649.check +++ b/test/files/neg/t649.check @@ -1,4 +1,4 @@ t649.scala:3: error: overloaded method foo needs result type def foo[A] = foo[A] - ^ + ^ one error found |