Index and Element must be declarations

This commit is contained in:
Sasha Koshka 2024-03-15 02:50:28 -04:00
parent cdc46f96aa
commit 9b8941182a
1 changed files with 2 additions and 2 deletions

View File

@ -477,8 +477,8 @@ var _ Expression = &For { }
type For struct {
// Syntax
Pos errors.Position
Index Expression
Element Expression
Index *Declaration
Element *Declaration
Over Expression
Body Expression