Skip to content

Commit 10cabc2

Browse files
committed
---
yaml --- r: 4759 b: refs/heads/master c: c6482c0 h: refs/heads/master i: 4757: 26927eb 4755: 1af02be 4751: 4c8223f v: v3
1 parent c184378 commit 10cabc2

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: 67cc5b9e346cba9cc8fdaa00e38ef26b4d9936cf
2+
refs/heads/master: c6482c00834af5df92233e4af7e1714b7e97ce80

trunk/src/comp/syntax/ast.rs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -560,10 +560,14 @@ type variant = spanned<variant_>;
560560

561561
type view_item = spanned<view_item_>;
562562

563+
// FIXME: May want to just use path here, which would allow things like
564+
// 'import ::foo'
565+
type simple_path = [ident];
566+
563567
tag view_item_ {
564568
view_item_use(ident, [@meta_item], node_id);
565-
view_item_import(ident, [ident], node_id);
566-
view_item_import_glob([ident], node_id);
569+
view_item_import(ident, simple_path, node_id);
570+
view_item_import_glob(simple_path, node_id);
567571
view_item_export([ident], node_id);
568572
}
569573

0 commit comments

Comments
 (0)