Fix ConvertAssertToIfWithThrowIntention

to not invoke ShortenReferences on file created by JetPsiFactory

 #KT-5476 Fixed
This commit is contained in:
Pavel V. Talanov
2014-07-16 21:12:53 +04:00
parent 1a5ba566cc
commit 966da0b03f
3 changed files with 40 additions and 18 deletions
@@ -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