FIR IDE: fix collecting diagnostics for raanalysable non-toplevel declarations

This commit is contained in:
Ilya Kirillov
2021-02-12 12:50:02 +01:00
parent 6ba57abb8f
commit d42cc219bf
9 changed files with 39 additions and 11 deletions
@@ -1,4 +1,5 @@
// "Remove 'public' modifier" "true"
class Foo {
public<caret> private fun bar() { }
}
}
/* FIR_COMPARISON */
@@ -1,4 +1,5 @@
// "Remove 'public' modifier" "true"
class Foo {
private fun bar() { }
}
}
/* FIR_COMPARISON */
@@ -6,3 +6,5 @@ abstract class B() {
abstract class A() : B() {
<caret>open abstract override fun foo()
}
/* FIR_COMPARISON */
@@ -6,3 +6,5 @@ abstract class B() {
abstract class A() : B() {
<caret>abstract override fun foo()
}
/* FIR_COMPARISON */
@@ -6,3 +6,5 @@ abstract class B() {
abstract class A() : B() {
abstract <caret>open override fun foo()
}
/* FIR_COMPARISON */
@@ -6,3 +6,5 @@ abstract class B() {
abstract class A() : B() {
abstract <caret>override fun foo()
}
/* FIR_COMPARISON */
@@ -6,3 +6,5 @@ abstract class B() {
abstract class A() : B() {
abstract override <caret>open fun foo()
}
/* FIR_COMPARISON */
@@ -6,3 +6,5 @@ abstract class B() {
abstract class A() : B() {
abstract override<caret> fun foo()
}
/* FIR_COMPARISON */