Fix project source to overcome bootstrap problem
This commit is contained in:
+1
-1
@@ -44,7 +44,7 @@ public class HtmlTabledDescriptorRenderer extends TabledDescriptorRenderer {
|
||||
@NotNull
|
||||
@Override
|
||||
public Renderer<KotlinType> getTypeRenderer() {
|
||||
return IdeRenderers.HTML_RENDER_TYPE;
|
||||
return (Renderer<KotlinType>) IdeRenderers.HTML_RENDER_TYPE;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -197,7 +197,7 @@ public class KotlinBytecodeToolWindow extends JPanel implements Disposable {
|
||||
|
||||
BindingContext bindingContextForFile = resolutionFacade.analyzeFullyAndGetResult(Collections.singletonList(jetFile)).getBindingContext();
|
||||
|
||||
kotlin.Pair<BindingContext, List<? extends KtFile>> result = DebuggerUtils.INSTANCE.analyzeInlinedFunctions(
|
||||
kotlin.Pair<BindingContext, List<KtFile>> result = (kotlin.Pair) DebuggerUtils.INSTANCE.analyzeInlinedFunctions(
|
||||
resolutionFacade, bindingContextForFile, jetFile, !enableInline
|
||||
);
|
||||
|
||||
|
||||
+2
-2
@@ -390,7 +390,7 @@ public class MoveKotlinTopLevelDeclarationsDialog extends RefactoringDialog {
|
||||
}
|
||||
|
||||
private boolean isFullFileMove() {
|
||||
Map<KtFile, List<? extends KtNamedDeclaration>> fileToElements = CollectionsKt.groupBy(
|
||||
Map<KtFile, List<KtNamedDeclaration>> fileToElements = (Map) CollectionsKt.groupBy(
|
||||
getSelectedElementsToMove(),
|
||||
new Function1<KtNamedDeclaration, KtFile>() {
|
||||
@Override
|
||||
@@ -399,7 +399,7 @@ public class MoveKotlinTopLevelDeclarationsDialog extends RefactoringDialog {
|
||||
}
|
||||
}
|
||||
);
|
||||
for (Map.Entry<KtFile, List<? extends KtNamedDeclaration>> entry : fileToElements.entrySet()) {
|
||||
for (Map.Entry<KtFile, List<KtNamedDeclaration>> entry : fileToElements.entrySet()) {
|
||||
if (entry.getKey().getDeclarations().size() != entry.getValue().size()) return false;
|
||||
}
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user