Minor formatting and unused code deleted
This commit is contained in:
committed by
Evgeny Gerashchenko
parent
230ceb6221
commit
dbd1ab8c67
@@ -3814,10 +3814,12 @@ The "returned" value of try expression with no finally is either the last expres
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private StackValue generateSwitch(@NotNull JetWhenExpression expression, @NotNull Type subjectType, @NotNull Type resultType, boolean isStatement) {
|
private StackValue generateSwitch(
|
||||||
JetType subjectJetType = bindingContext.get(EXPRESSION_TYPE, expression.getSubjectExpression());
|
@NotNull JetWhenExpression expression,
|
||||||
assert subjectJetType != null : "Subject expression in when should not be null";
|
@NotNull Type subjectType,
|
||||||
|
@NotNull Type resultType,
|
||||||
|
boolean isStatement
|
||||||
|
) {
|
||||||
Map<Integer, Label> transitions = Maps.newTreeMap();
|
Map<Integer, Label> transitions = Maps.newTreeMap();
|
||||||
|
|
||||||
Label[] entryLabels = new Label[expression.getEntries().size()];
|
Label[] entryLabels = new Label[expression.getEntries().size()];
|
||||||
|
|||||||
Reference in New Issue
Block a user