Of course, in order to enable assertions, you have to run the JVM with the -ea switch. Should we detect the use of assertions (easily done) and set a flag (as we do with "hasMain", etc.)?
This commit is contained in:
jdf
2010-03-16 02:43:13 +00:00
parent f6d861f1fa
commit a4e21267b6
2 changed files with 3 additions and 2 deletions
@@ -546,6 +546,7 @@ public class PdeEmitter implements PdeTokenTypes {
break;
case LITERAL_synchronized: // 0137 to fix bug #136
case LITERAL_assert:
out.print(ast.getText());
dumpHiddenAfter(ast);
printChildren(ast);