From 2f5b6134a81716c5568d98a5ecda2a73a52d0c8c Mon Sep 17 00:00:00 2001 From: jaekwon Date: Tue, 18 Jun 2024 15:02:08 -0700 Subject: [PATCH] ... --- gnovm/pkg/gnolang/preprocess.go | 40 ++++++++++++------- gnovm/tests/file.go | 8 +++- .../method/declaredType6b_filetest.gno | 2 +- .../unnamedtype0b_filetest.gno | 2 +- gnovm/tests/files/types/eql_0a1a1.gno | 2 +- gnovm/tests/files/types/eql_0f14.gno | 2 +- 6 files changed, 36 insertions(+), 20 deletions(-) diff --git a/gnovm/pkg/gnolang/preprocess.go b/gnovm/pkg/gnolang/preprocess.go index b2d41508275..98a85240c09 100644 --- a/gnovm/pkg/gnolang/preprocess.go +++ b/gnovm/pkg/gnolang/preprocess.go @@ -847,11 +847,18 @@ func Preprocess(store Store, ctx BlockNode, n Node) Node { if isUntyped(rt) { // e.g. int(1) + 1<