From 5267c0e8653b431cfd2c06212cdba4f22225bd02 Mon Sep 17 00:00:00 2001 From: Mel Date: Thu, 21 Apr 2022 03:18:46 +0200 Subject: Do not force generics for Expr and Stmt --- pkg/lang/ast/ast.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkg/lang/ast/ast.go') diff --git a/pkg/lang/ast/ast.go b/pkg/lang/ast/ast.go index 43d0c28..4171801 100644 --- a/pkg/lang/ast/ast.go +++ b/pkg/lang/ast/ast.go @@ -1,5 +1,5 @@ package ast type Program struct { - Stmts []Stmt[any] -} \ No newline at end of file + Stmts []Stmt +} -- cgit 1.4.1