]> git.lizzy.rs Git - rust.git/commit
Make polymorphic impl methods work
authorMarijn Haverbeke <marijnh@gmail.com>
Fri, 16 Dec 2011 10:37:38 +0000 (11:37 +0100)
committerMarijn Haverbeke <marijnh@gmail.com>
Fri, 16 Dec 2011 12:47:48 +0000 (13:47 +0100)
commitd529757515671d5826d8d2203ce0a4f82a3bdee5
tree1886bd880e0e912f1d962cd9a1fd1a0035634c66
parentcff6bdd03616b6f20028ec8568d03363ccc3f9f2
Make polymorphic impl methods work

Something will still have to be done to the AST to make it possible to
say `x.foo::<int>()`, since currently field access never allows type
parameters.

Issue #1227
src/comp/middle/resolve.rs
src/comp/middle/trans.rs
src/comp/middle/typeck.rs
src/comp/syntax/ast.rs
src/comp/syntax/fold.rs
src/comp/syntax/parse/parser.rs
src/comp/syntax/visit.rs