assertEquals(1, s1.getStartStatements().size());
}
public final void testUnmaskableIdentifiersInCatch() throws Exception {
Block b = js(fromString("try {} catch (Object) {}"));
TryStmt tryStmt = (TryStmt) b.children().get(0);
Scope top = fromProgram(b);
Scope.fromCatchStmt(top, tryStmt.getCatchClause());
assertMessage(
RewriterMessageType.CANNOT_MASK_IDENTIFIER, MessageLevel.FATAL_ERROR,
MessagePart.Factory.valueOf("Object"));