Skip to content

Commit 36c3ba4

Browse files
authored
Update writer.go
1 parent d23af85 commit 36c3ba4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/cmd/gtrace/writer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ func (w *Writer) init() {
8888
func (w *Writer) mustDeclare(name string) {
8989
s, ok := w.scope.Back().Value.(*scope)
9090
if !ok {
91-
panic(fmt.Sprintf("unsupported type conversion from %T to w.scope.Back()", s))
91+
panic(fmt.Sprintf("unsupported type conversion from %T to *scope", s))
9292
}
9393
if !s.set(name) {
9494
where := s.where(name)

0 commit comments

Comments
 (0)