mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-06 09:34:42 +01:00
Implement rename me -> self (#2444)
Implements change proposed in #1382 Replaces #1624
This commit is contained in:
+2
-2
@@ -13,8 +13,8 @@ class LazyNe {
|
||||
var v1: i32;
|
||||
var v2: i32;
|
||||
impl as ImplicitAs(bool) {
|
||||
fn Convert[me: Self]() -> bool {
|
||||
return not (me.v1 == me.v2);
|
||||
fn Convert[self: Self]() -> bool {
|
||||
return not (self.v1 == self.v2);
|
||||
}
|
||||
}
|
||||
fn Make(v1: i32, v2: i32) -> Self {
|
||||
|
||||
Reference in New Issue
Block a user