I made a language and the language now can make instances:
class A {
pub name = "john";
pub weight = 10;
pub fn f() {
return "cat";
}
}
let b = new A();
print(b.name);
print(b.f());
Wow, I'm happy for this :)
I made a language and the language now can make instances:
class A {
pub name = "john";
pub weight = 10;
pub fn f() {
return "cat";
}
}
let b = new A();
print(b.name);
print(b.f());
Wow, I'm happy for this :)
For further actions, you may consider blocking this person and/or reporting abuse
叶师傅 -
Junaid -
Benjamen Pyle -
Shuttle -
Top comments (0)