Implement rename me -> self (#2444)

Implements change proposed in #1382

Replaces #1624
This commit is contained in:
josh11b
2022-12-06 20:17:00 -08:00
committed by GitHub
parent d1210c4a50
commit 9c8fd6864e
287 changed files with 1727 additions and 1720 deletions
@@ -10,10 +10,10 @@
package ExplorerTest api;
interface IntLike {
fn Convert[me: Self]() -> i32;
fn Convert[self: Self]() -> i32;
}
impl i32 as IntLike {
fn Convert[me: i32]() -> i32 { return me; }
fn Convert[self: i32]() -> i32 { return self; }
}
fn add[T:! IntLike](x: {.a: T, .b: ({.m: i32, .n: T}, i32)}) -> i32 {