[FIR] Add ExtensionFunctionType attribute

#KT-39034 Fixed
This commit is contained in:
Dmitriy Novozhilov
2020-06-29 15:12:21 +03:00
parent 1d3c0f56a9
commit 309050d956
13 changed files with 84 additions and 31 deletions
+2 -2
View File
@@ -2,11 +2,11 @@
inline fun foo(bar1: (String.() -> Int) -> Int, bar2: (()->Int) -> Int) {
bar1 label@ {
this@label.<!UNRESOLVED_REFERENCE!>length<!>
this@label.length
}
bar1 {
this.<!UNRESOLVED_REFERENCE!>length<!>
this.length
}
//unmute after KT-4247 fix
//bar1 {
@@ -1,11 +0,0 @@
//KT-4247 LABEL_NAME_CLASH
fun foo(bar1: (String.() -> Int) -> Int) {
bar1 {
this.<!UNRESOLVED_REFERENCE!>length<!>
}
bar1 {
this@bar1.<!UNRESOLVED_REFERENCE!>length<!>
}
}
+1
View File
@@ -1,3 +1,4 @@
// FIR_IDENTICAL
//KT-4247 LABEL_NAME_CLASH
fun foo(bar1: (String.() -> Int) -> Int) {