From 3d64f909cfb55d8886ac4b4839a98f8f6cdc98e7 Mon Sep 17 00:00:00 2001 From: Marc Vertes Date: Tue, 2 Dec 2025 15:45:14 +0100 Subject: feat: support of struct literal composite Added missing vm instructions to allocate a typed value on the stack and to set a structure field. It's possible now to generate struct literal composites for non keyed struct fields. --- Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 1d4e5c8..187a67a 100644 --- a/Makefile +++ b/Makefile @@ -2,6 +2,9 @@ lint: golangci-lint run +generate: + go generate ./... + # Run tests with race detector, measure coverage. test: go test -race -covermode=atomic -coverpkg=./... -coverprofile=cover.out ./interp -- cgit v1.2.3