add regression test for #1157

This commit is contained in:
Sebastian McKenzie
2015-04-04 16:59:29 +11:00
parent 3e642dfa1b
commit 480fa7f4e0

View File

@@ -0,0 +1,8 @@
class Foo {
static num = 0;
static str = "bar";
}
assert.equal(bar.num, 0);
assert.equal(bar.num = 1, 1);
assert.equal(bar.str, "bar");