Skip to content

1.2.2

Compare
Choose a tag to compare
@rillig rillig released this 07 Jan 21:53
· 59 commits to master since this release

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.