Fix ConvertAssertToIfWithThrowIntention
to not invoke ShortenReferences on file created by JetPsiFactory #KT-5476 Fixed
This commit is contained in:
@@ -1,8 +1,13 @@
|
||||
// WITH_RUNTIME
|
||||
package a
|
||||
|
||||
import java.lang
|
||||
|
||||
fun foo() {
|
||||
if (!true) {
|
||||
throw lang.AssertionError("text")
|
||||
}
|
||||
}
|
||||
|
||||
class AssertionError
|
||||
class AssertionError
|
||||
|
||||
// WITH_RUNTIME
|
||||
|
||||
Reference in New Issue
Block a user