11 lines
280 B
Plaintext
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 };
|
|
}
|
|
}
|