umadump/replay: decode race replays
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
package umadump
|
||||
|
||||
type Never struct{}
|
||||
|
||||
func (Never) AppendText(b []byte) ([]byte, error) {
|
||||
panic("umadump: attempt to encode value that should never exist")
|
||||
}
|
||||
func (Never) MarshalText() ([]byte, error) {
|
||||
panic("umadump: attempt to encode value that should never exist")
|
||||
}
|
||||
func (Never) UnmarshalText(b []byte) error {
|
||||
panic("umadump: attempt to decode value that should never exist")
|
||||
}
|
||||
Reference in New Issue
Block a user