MCPcopy Create free account
hub / github.com/bytecodealliance/wit-bindgen / EmptyListParam

Function EmptyListParam

tests/runtime/lists/test.go:13–17  ·  view source on GitHub ↗
(x []uint8)

Source from the content-addressed store, hash-verified

11}
12
13func EmptyListParam(x []uint8) {
14 if len(x) != 0 {
15 panic("trouble")
16 }
17}
18
19func EmptyStringParam(x string) {
20 if len(x) != 0 {

Callers 1

RunMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected