summary refs log tree commit diff
path: root/src/test/run-pass/static-impl.rs
AgeCommit message (Collapse)AuthorLines
2012-03-22make --enforce-mut-vars always on, add mut annotations to remaining filesNiko Matsakis-3/+3
2012-02-14Add [X].len() to core, use it in trans modulesMarijn Haverbeke-2/+2
2012-01-23s/block()/fn()/gNiko Matsakis-3/+3
2011-12-19Add type argument field to expr_pathMarijn Haverbeke-0/+1
This way, you can explicitly provide type parameters when calling a generic method. Issue #1227
2011-12-18Only look for a matching method when normal field access failsMarijn Haverbeke-1/+24
We should probalby warn when defining a method foo on {foo: int} etc. This should reduce the amount of useless typevars that are allocated. Issue #1227
2011-12-16Change syntax for implMarijn Haverbeke-0/+18
Move the name of the bundle to the front, allow type parameters (not handled yet), and add a 'for' keyword: impl utils for int { fn str() -> str { int::str(self) } fn times(f: block()) { ... } }