Files
sx/examples/issue-0033-impl.sx
2026-05-18 17:40:10 +03:00

11 lines
280 B
Plaintext

// Helper that defines the impl. issue-0033's user file does NOT
// directly import this — that's the whole point of the test.
#import "modules/std.sx";
#import "./issue-0033-types.sx";
impl Into(Wrap) for s64 {
convert :: (self: s64) -> Wrap {
.{ v = self * 10 };
}
}