Properly translate calls to default methods in a number of cases. Closes #4350.

This commit is contained in:
Michael Sullivan 2013-06-07 10:29:21 -07:00
parent 135ba946a2
commit a159f856d5
2 changed files with 23 additions and 50 deletions

View file

@ -8,9 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
//xfail-test
// Currently failing with an ICE in trans. (FIXME: #4350)
#[allow(default_methods)];
trait Cat {
fn meow(&self) -> bool;