Skip to content

Commit cf1f46a

Browse files
committed
Add todo
1 parent e10a35d commit cf1f46a

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

ast/node.go

+8-6
Original file line numberDiff line numberDiff line change
@@ -102,12 +102,14 @@ type ChainNode struct {
102102

103103
type MemberNode struct {
104104
base
105-
Node Node
106-
Property Node
107-
Name string
108-
Optional bool
109-
Deref bool
110-
FieldIndex []int
105+
Node Node
106+
Property Node
107+
Name string
108+
Optional bool
109+
Deref bool
110+
FieldIndex []int
111+
112+
// TODO: Replace with a single MethodIndex field of &int type.
111113
Method bool
112114
MethodIndex int
113115
}

0 commit comments

Comments
 (0)