Files
cli/vendor/wit-parser/tests/ui/parse-fail/map-invalid-key.wit

8 lines
195 B
Plaintext
Raw Normal View History

// Map keys must be primitive types only
package foo:invalid-map-key;
interface test {
// This should fail - tuple is not a valid map key type
type invalid = map<tuple<u32, string>, u32>;
}