mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-05 22:02:55 +01:00
Implement syntax changes from #2760 in Explorer
This commit is contained in:
+1
-1
@@ -16,7 +16,7 @@ interface Vector {
|
||||
class Point {
|
||||
var x: i32;
|
||||
var y: i32;
|
||||
impl Point as Vector {
|
||||
extend impl as Vector {
|
||||
fn Zero() -> Point {
|
||||
return {.x = 0, .y = 0};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user