10 lines
227 B
Plaintext
10 lines
227 B
Plaintext
// Helper A — one of two conflicting impls for the same (s64, Wrap) pair.
|
|
#import "modules/std.sx";
|
|
#import "./issue-0034-types.sx";
|
|
|
|
impl Into(Wrap) for s64 {
|
|
convert :: (self: s64) -> Wrap {
|
|
.{ v = self * 10 };
|
|
}
|
|
}
|