Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion general/decode.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,10 @@ func generalReaderOf(ttype protocol.TType) func(iter spi.Iterator) interface{} {
return readMap
case protocol.TypeStruct:
return readStruct
case protocol.TypeSet:
return readList
default:
panic("unsupported type")
panic(fmt.Sprintf("unsupported type: %d", ttype))
}
}

Expand Down