Correct the Array_Type.len comment and assign tok when making Ellipsis node
This commit is contained in:
1 parent
7f17d4eb7f
commit
478b2d7444
2 files changed
+2
-1
No files matched your search
@@ -757,7 +757,7 @@ Array_Type :: struct {
|
||||
using node: Expr,
|
||||
open: tokenizer.Pos,
|
||||
tag: ^Expr,
|
||||
len: ^Expr, // Ellipsis node for [?]T array types, nil for slice types
|
||||
len: ^Expr, // Unary_Expr node for [?]T array types, nil for slice types
|
||||
close: tokenizer.Pos,
|
||||
elem: ^Expr,
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user