Accumulate type paths as we parse, rather than throwing them away.
This commit is contained in:
parent
0847ff7d42
commit
fdac6ffa7c
1 changed files with 1 additions and 0 deletions
|
|
@ -210,6 +210,7 @@ impure fn parse_ty(parser p) -> @ast.ty {
|
|||
case (token.IDENT(?i)) {
|
||||
auto n = parse_name(p, i);
|
||||
hi = n.span;
|
||||
pth += n;
|
||||
if (p.peek() == token.DOT) {
|
||||
p.bump();
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue