From 7153438640569b9ed7943dd16f910eaddfb19950 Mon Sep 17 00:00:00 2001 From: Richardas Kuchinskas Date: Wed, 13 Mar 2024 18:09:09 +0300 Subject: [PATCH] fixed unboxing from null for arrays --- src/tests/regression/issue1214_test.go | 17 +++++++++++++++++ src/types/map.go | 5 ++++- 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 src/tests/regression/issue1214_test.go diff --git a/src/tests/regression/issue1214_test.go b/src/tests/regression/issue1214_test.go new file mode 100644 index 00000000..4512c408 --- /dev/null +++ b/src/tests/regression/issue1214_test.go @@ -0,0 +1,17 @@ +package regression_test + +import ( + "testing" + + "github.com/VKCOM/noverify/src/linttest" +) + +func TestIssue1214(t *testing.T) { + linttest.SimpleNegativeTest(t, `