about summary refs log tree commit diff
path: root/src/libsyntax/parse
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2013-08-11 13:44:26 -0400
committerNiko Matsakis <niko@alum.mit.edu>2013-08-11 14:01:23 -0400
commit1bceb98084b0e1010d123f48785a89bc7ad7e40f (patch)
tree8444ffe600298b3fccebdf4134b84c1668c6b7a6 /src/libsyntax/parse
parent006c6b6be4499fd999ef3f52996b944263baa220 (diff)
downloadrust-1bceb98084b0e1010d123f48785a89bc7ad7e40f.tar.gz
rust-1bceb98084b0e1010d123f48785a89bc7ad7e40f.zip
typeck: Modify method resolution to use new object adjustments, and
to favor inherent methods over extension methods.

The reason to favor inherent methods is that otherwise an impl
like

    impl Foo for @Foo { fn method(&self) { self.method() } }

causes infinite recursion.  The current change to favor inherent methods is
rather hacky; the method resolution code is in need of a refactoring.
Diffstat (limited to 'src/libsyntax/parse')
0 files changed, 0 insertions, 0 deletions