namespace property initializers are written directly to backing fields

This commit is contained in:
Dmitry Jemerov
2011-07-12 13:33:33 +02:00
parent 8b823d83ef
commit b95219913a
3 changed files with 6 additions and 6 deletions
@@ -80,6 +80,9 @@ public class PropertyGenTest extends CodegenTestCase {
final Method method = generateFunction("append");
method.invoke(null, "IntelliJ ");
String value = (String) method.invoke(null, "IDEA");
if (!value.equals("IntelliJ IDEA")) {
System.out.println(generateToText());
}
assertEquals("IntelliJ IDEA", value);
}