blob: f576b2fb4f37d8a5e6214fd0dcbb2bc27d935bd7 (
plain)
1
2
3
4
5
6
7
8
9
10
|
class Foo : Object {
public string foo { get; construct; }
}
void main () {
Foo foo;
foo = (Foo) Object.@new (typeof (Foo), "foo", "foo.initially");
assert (foo.foo == "foo.initially");
}
|