2018-01-28 19:33:05 +01:00
|
|
|
import "std:memory/arena";
|
|
|
|
|
2018-01-28 15:13:31 +01:00
|
|
|
class AClass {
|
|
|
|
static aStaticField: i32 = 0;
|
|
|
|
aField: i32 = 1;
|
|
|
|
anotherField: f32 = 2;
|
|
|
|
constructor(value: f32) {
|
|
|
|
this.aField += 1;
|
|
|
|
this.anotherField = value;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
var aClass = new AClass(3);
|