about summary refs log tree commit diff
path: root/pkg/lang/ast/nodes.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/lang/ast/nodes.go')
-rw-r--r--pkg/lang/ast/nodes.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/pkg/lang/ast/nodes.go b/pkg/lang/ast/nodes.go
index 699d025..55dbb5b 100644
--- a/pkg/lang/ast/nodes.go
+++ b/pkg/lang/ast/nodes.go
@@ -9,10 +9,11 @@ type IdentNode struct {
 
 type BlockNode struct {
 	At    token.Loc
-	Stmts []Stmt[any]
+	Stmts []Stmt
 }
 
 type CondNode struct {
-	Cond Expr[any]
+	At   token.Loc
+	Cond Expr
 	Then BlockNode
 }