From 905b9f2fb5328453a21323aa07af66e01b97c39f Mon Sep 17 00:00:00 2001 From: gfanton <8671905+gfanton@users.noreply.github.com> Date: Sun, 24 Sep 2023 14:27:02 +0200 Subject: [PATCH] tmp: -- panic Signed-off-by: gfanton <8671905+gfanton@users.noreply.github.com> --- tm2/pkg/bitarray/package.go | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tm2/pkg/bitarray/package.go b/tm2/pkg/bitarray/package.go index 3f3feb8e480..2f3182e93b2 100644 --- a/tm2/pkg/bitarray/package.go +++ b/tm2/pkg/bitarray/package.go @@ -2,10 +2,16 @@ package bitarray import "github.com/gnolang/gno/tm2/pkg/amino" +var dirname = amino.GetCallersDirname() + +func init() { + panic(dirname) +} + var Package = amino.RegisterPackage(amino.NewPackage( "github.com/gnolang/gno/tm2/pkg/bitarray", "tm", - amino.GetCallersDirname(), + dirname, ).WithDependencies().WithTypes( BitArray{}, "BitArray", ))