Unreachable code with Nothing-returning functions

This commit is contained in:
Andrey Breslav
2011-04-14 19:23:49 +04:00
parent 4d92f75133
commit cf7991378a
24 changed files with 272 additions and 69 deletions
@@ -56,6 +56,10 @@ public class JetControlFlowTest extends JetTestCaseBase {
}
}
@Override
public void recordRepresentativeInstruction(@NotNull JetElement element, @NotNull Instruction instruction) {
}
};
AnalyzingUtils.analyzeNamespace(file.getRootNamespace(), ErrorHandler.DO_NOTHING, new JetControlFlowDataTraceFactory() {