Add test checking file annotations resolution
#KT-37219 Fixed
This commit is contained in:
@@ -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)*/
|
||||
Reference in New Issue
Block a user