[FIR] Add diagnostics for object related problems
This commit is contained in:
@@ -1,4 +0,0 @@
|
||||
fun foo(): Any {
|
||||
object Bar
|
||||
return Bar
|
||||
}
|
||||
@@ -1,3 +1,4 @@
|
||||
// FIR_IDENTICAL
|
||||
fun foo(): Any {
|
||||
<!LOCAL_OBJECT_NOT_ALLOWED!>object Bar<!>
|
||||
return Bar
|
||||
|
||||
Reference in New Issue
Block a user