From 19683f40f078c52052308ec1c14d176097b79cdf Mon Sep 17 00:00:00 2001 From: Roland Illig Date: Sat, 7 Jan 2023 22:46:42 +0100 Subject: [PATCH] Release 1.2.2 Changes since 1.2.1: Fix the placement of comments in the instrumented code, except for some edge cases in expression switch statements and type switch statements. Fix instrumentation of parenthesized nil, struct types and interface types in type switch statements. Fix instrumentation of black box tests (those with 'package X_test'). In the instrumented conditions for expression switch statements and type switch statements, omit parentheses where possible. Generate simpler code when instrumenting expression switch statements. --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 7b6095a..00b70f9 100644 --- a/main.go +++ b/main.go @@ -13,7 +13,7 @@ import ( "strings" ) -const version = "1.2.2-snapshot" +const version = "1.2.2" var exit = os.Exit