From c372dc7f0a2ae5d49b91aa25c762a312385286c1 Mon Sep 17 00:00:00 2001 From: Nikolay Krasko Date: Mon, 23 Dec 2019 16:39:22 +0300 Subject: [PATCH] Fix AmbiguousCalls in >= 192 --- idea/testData/intentions/importAllMembers/AmbiguousCalls.kt | 4 ++-- .../intentions/importAllMembers/AmbiguousCalls.kt.after | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/idea/testData/intentions/importAllMembers/AmbiguousCalls.kt b/idea/testData/intentions/importAllMembers/AmbiguousCalls.kt index 02a36ec7828..a5c3d49a805 100644 --- a/idea/testData/intentions/importAllMembers/AmbiguousCalls.kt +++ b/idea/testData/intentions/importAllMembers/AmbiguousCalls.kt @@ -1,7 +1,7 @@ // INTENTION_TEXT: "Import members from 'javax.swing.SwingUtilities'" // WITH_RUNTIME -// ERROR: None of the following functions can be called with the arguments supplied:
@NotNull public open fun convertPoint(source: Component!, @NotNull aPoint: Point!, destination: Component!): Point! defined in javax.swing.SwingUtilities
public open fun convertPoint(source: Component!, x: Int, y: Int, destination: Component!): Point! defined in javax.swing.SwingUtilities -// ERROR: None of the following functions can be called with the arguments supplied:
@NotNull public open fun convertPoint(source: Component!, @NotNull aPoint: Point!, destination: Component!): Point! defined in javax.swing.SwingUtilities
public open fun convertPoint(source: Component!, x: Int, y: Int, destination: Component!): Point! defined in javax.swing.SwingUtilities +// ERROR: None of the following functions can be called with the arguments supplied:
public open fun convertPoint(source: Component!, aPoint: Point!, destination: Component!): Point! defined in javax.swing.SwingUtilities
public open fun convertPoint(source: Component!, x: Int, y: Int, destination: Component!): Point! defined in javax.swing.SwingUtilities +// ERROR: None of the following functions can be called with the arguments supplied:
public open fun convertPoint(source: Component!, aPoint: Point!, destination: Component!): Point! defined in javax.swing.SwingUtilities
public open fun convertPoint(source: Component!, x: Int, y: Int, destination: Component!): Point! defined in javax.swing.SwingUtilities // ERROR: Unresolved reference: unresolved import javax.swing.SwingUtilities diff --git a/idea/testData/intentions/importAllMembers/AmbiguousCalls.kt.after b/idea/testData/intentions/importAllMembers/AmbiguousCalls.kt.after index e0c2101ad06..c147e62c172 100644 --- a/idea/testData/intentions/importAllMembers/AmbiguousCalls.kt.after +++ b/idea/testData/intentions/importAllMembers/AmbiguousCalls.kt.after @@ -1,7 +1,7 @@ // INTENTION_TEXT: "Import members from 'javax.swing.SwingUtilities'" // WITH_RUNTIME -// ERROR: None of the following functions can be called with the arguments supplied:
@NotNull public open fun convertPoint(source: Component!, @NotNull aPoint: Point!, destination: Component!): Point! defined in javax.swing.SwingUtilities
public open fun convertPoint(source: Component!, x: Int, y: Int, destination: Component!): Point! defined in javax.swing.SwingUtilities -// ERROR: None of the following functions can be called with the arguments supplied:
@NotNull public open fun convertPoint(source: Component!, @NotNull aPoint: Point!, destination: Component!): Point! defined in javax.swing.SwingUtilities
public open fun convertPoint(source: Component!, x: Int, y: Int, destination: Component!): Point! defined in javax.swing.SwingUtilities +// ERROR: None of the following functions can be called with the arguments supplied:
public open fun convertPoint(source: Component!, aPoint: Point!, destination: Component!): Point! defined in javax.swing.SwingUtilities
public open fun convertPoint(source: Component!, x: Int, y: Int, destination: Component!): Point! defined in javax.swing.SwingUtilities +// ERROR: None of the following functions can be called with the arguments supplied:
public open fun convertPoint(source: Component!, aPoint: Point!, destination: Component!): Point! defined in javax.swing.SwingUtilities
public open fun convertPoint(source: Component!, x: Int, y: Int, destination: Component!): Point! defined in javax.swing.SwingUtilities // ERROR: Unresolved reference: unresolved import javax.swing.SwingUtilities