[FIR] Add diagnostics for object related problems

This commit is contained in:
Nick
2020-07-30 17:11:15 +03:00
committed by Mikhail Glukhikh
parent 694d3cad4e
commit 26e3a111d6
32 changed files with 419 additions and 77 deletions
@@ -1,3 +1,4 @@
// FIR_IDENTICAL
fun foo(): Any {
<!LOCAL_OBJECT_NOT_ALLOWED!>object Bar<!>
return Bar