More attempts to determine when addition is associative

Somebody hit me with bug reports on this. :)

Refs #300
This commit is contained in:
Mihai Bazon
2013-09-22 15:26:10 +03:00
parent 037199bfe2
commit afdaeba37d
3 changed files with 46 additions and 3 deletions

View File

@@ -69,6 +69,6 @@ constant_join_2: {
var e = [ "foo", "bar", boo(),
"foo+1+2+3+bar",
"baz", "x", "y" ].join("really-long-separator");
var f = "strstr" + variable + "foobar" + ("moo" + foo);
var f = "strstr" + variable + "foobarmoo" + foo;
}
}