File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
crates/artifacts/vyper/src/ast Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -114,15 +114,15 @@ vyper_node!(
114114 struct Import {
115115 alias: Option <String >,
116116 name: String ,
117- import_info: ImportInfo ,
117+ import_info: Option < ImportInfo > ,
118118 }
119119) ;
120120
121121vyper_node ! (
122122 struct ImportFrom {
123123 alias: Option <String >,
124124 name: String ,
125- import_info: ImportInfo ,
125+ import_info: Option < ImportInfo > ,
126126 module: Option <String >,
127127 level: u32 ,
128128 }
@@ -286,6 +286,7 @@ node_group!(
286286 HexBytes ,
287287 NameConstant ,
288288 Ellipsis ,
289+ Index ,
289290
290291 // Collections
291292 List ,
@@ -392,6 +393,12 @@ vyper_node!(
392393 }
393394) ;
394395
396+ vyper_node ! (
397+ struct Index {
398+ value: Box <Expression >,
399+ }
400+ ) ;
401+
395402vyper_node ! (
396403 struct List {
397404 elements: Vec <Expression >,
You can’t perform that action at this time.
0 commit comments