Something went wrong. Try again.
Jam Programming Language jamlang.org
compiler
Something went wrong. Try again.
1234567891011121314151617// The correct target of `./leaf` (from nested/via_dot.jam) and// `../leaf` (from nested/deep/via_dotdot.jam), and of the entry's// `import("nested/leaf")`. All three spellings name this one file, so// it must load exactly once. Returns 7 to distinguish it from the// root-level shadow (which returns 1).pub const Thing = struct { value: u64,};
pub fn makeThing() Thing { return Thing { value: 7 };}
pub fn leafValue() u64 { return 7;}