From d07ffb36ad2f9791064102c86c7bf7e414e4479d Mon Sep 17 00:00:00 2001 From: xushiwei Date: Wed, 15 May 2024 18:45:53 +0800 Subject: [PATCH] TestUserdefExpr: pyVarTy --- ssa/ssa_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ssa/ssa_test.go b/ssa/ssa_test.go index 57e235b6..13a98552 100644 --- a/ssa/ssa_test.go +++ b/ssa/ssa_test.go @@ -102,7 +102,9 @@ func TestCvtType(t *testing.T) { func TestUserdefExpr(t *testing.T) { b := &phisExprTy{} + c := &pyVarTy{} _ = b.String() + _ = c.String() test := func(a types.Type) { defer func() { if r := recover(); r == nil { @@ -112,6 +114,7 @@ func TestUserdefExpr(t *testing.T) { a.Underlying() } test(b) + test(c) } func TestAny(t *testing.T) {