aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gocapturedrefrace.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/gocapturedrefrace.go b/gocapturedrefrace.go
index 8c09278..0ca4af7 100644
--- a/gocapturedrefrace.go
+++ b/gocapturedrefrace.go
@@ -156,6 +156,8 @@ func assignmentsInFunc(
fmt.Printf("assignment: %v is DEFINE\n", ident.Name)
} else if assignment.Tok == token.ASSIGN {
fmt.Printf("assignment: %v is ASSIGN\n", ident.Name)
+ } else {
+ fmt.Printf("assignment: %v\n", assignment.Tok)
}
assignments = append(assignments, ident.Name)