Files
ww/test/wcc/data/paramshadowmod/crossmod/crossmod.ww

10 lines
322 B
Plaintext

// crossmod — directory package whose probe() takes a parameter named like the
// module `shadowmod` that a sibling package imports. Since crossmod itself has
// no such file-local package-name object, this is an ordinary parameter.
package crossmod;
export fn probe(shadowmod: str) i32 = {
return shadowmod.len;
};