Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
13
func
EmptyListParam(x []uint8) {
14
if
len(x) != 0 {
15
panic(
"trouble"
)
16
}
17
}
18
19
func
EmptyStringParam(x string) {
20
if
len(x) != 0 {
Callers
1
Run
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected