Add test checking file annotations resolution

#KT-37219 Fixed
This commit is contained in:
Pavel Kirpichenkov
2020-07-14 12:52:22 +03:00
parent 36a46482c5
commit 79d7babb57
11 changed files with 316 additions and 0 deletions
@@ -0,0 +1,21 @@
/*All (1)*/class Foo/*None (2)*/(/*None (3)*/val prop: /*None (4)*/String/*(4)*//*(3)*/)/*(2)*/ {
/*None (5)*/class Inner {
/*None (6)*/val boo = 42/*(6)*/
/*None (7)*/fun inner() {}/*(7)*/
}/*(5)*/
/*All (8)*/fun first(/*All (9)*/arg1: /*All (10)*/String/*(10)*//*(9)*/) {
/*All (11)*/arg1/*(11)*/
}/*(8)*/
/*None (12)*/fun second(/*None (13)*/arg2: /*None (14)*/Int/*(14)*//*(13)*/) {
/*None (15)*/arg2/*(15)*/
}/*(12)*/
}/*(1)*/
/*None (16)*/class Bar/*None (17)*/(/*None (18)*/val baz: /*None (19)*/Int/*(19)*//*(18)*/)/*(17)*/ {
/*None (20)*/fun bee() {
/*None (21)*/val local = "abc"/*(21)*/
}/*(20)*/
}/*(16)*/