Skip to content

Commit fdac6ff

Browse files
committed
Accumulate type paths as we parse, rather than throwing them away.
1 parent 0847ff7 commit fdac6ff

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/comp/front/parser.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,7 @@ impure fn parse_ty(parser p) -> @ast.ty {
210210
case (token.IDENT(?i)) {
211211
auto n = parse_name(p, i);
212212
hi = n.span;
213+
pth += n;
213214
if (p.peek() == token.DOT) {
214215
p.bump();
215216
} else {

0 commit comments

Comments
 (0)