Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions compiler/ast/expr.go
Original file line number Diff line number Diff line change
Expand Up @@ -205,10 +205,12 @@ type When struct {
}

type ArrayElem interface {
Node
arrayElemNode()
}

type RecordElem interface {
Node
recordElemNode()
}

Expand Down
2 changes: 2 additions & 0 deletions compiler/semantic/sem/expr.go
Original file line number Diff line number Diff line change
Expand Up @@ -135,10 +135,12 @@ type Entry struct {
// of creating a Go pseudo-type

type ArrayElem interface {
ast.Node
arrayElemNode()
}

type RecordElem interface {
ast.Node
recordElemNode()
}

Expand Down