2012-06-21 19:41:40 -05:00
|
|
|
import dvec::dvec;
|
|
|
|
|
|
|
|
type parser = {
|
|
|
|
tokens: dvec<int>,
|
|
|
|
};
|
|
|
|
|
|
|
|
impl parser for parser {
|
|
|
|
fn parse() -> [mut int] {
|
2012-06-30 06:23:59 -05:00
|
|
|
dvec::unwrap(self.tokens) //~ ERROR illegal move from self
|
2012-06-21 19:41:40 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
fn main() {}
|