You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
class Foo: Bar, Baz, Quux mixes MyMixin {
// Some docs here
hide _bar: String
age: Int
new(this.age):super() {
}
static from(foo: Foo) => Foo(foo.age)
fn get bar => _bar
fn set bar(value: String) {
throw 'wtf?'
}
}
The difference between a class and a struct type:
Classes can have implementation of methods, whereas a struct type is merely an interface
this and super are available
Can have constructors
Static members
Initializers in constructors
The text was updated successfully, but these errors were encountered:
Full:
The difference between a
class
and a struct type:this
andsuper
are availableThe text was updated successfully, but these errors were encountered: