In the generated Go bindings, argument names (which are lowerCamelCased) are never checked to make sure they won't conflict with Go keywords and builtin types.
resource command-node {
argument: static func(name: string, %type: argument-type) -> command-node;
}
becomes
func CommandNodeArgument(name string, type ArgumentType) *CommandNode {
Where type here is a Go keyword, which creates various compile errors.
In the generated Go bindings, argument names (which are
lowerCamelCased) are never checked to make sure they won't conflict with Go keywords and builtin types.resource command-node { argument: static func(name: string, %type: argument-type) -> command-node; }becomes
Where
typehere is a Go keyword, which creates various compile errors.