KT-3016 Exception during analyze when some function has no name
#KT-3016 Fixed
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
// "Import Class" "false"
|
||||
// ERROR: Unresolved reference: TTT
|
||||
|
||||
class {
|
||||
val t: TTT = null
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
// "Import Class" "false"
|
||||
// ERROR: Unresolved reference: TTTTT
|
||||
|
||||
fun () {
|
||||
val tttt : TTTTT = null
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
// "Import Class" "false"
|
||||
// ERROR: Unresolved reference: TTT
|
||||
|
||||
object {
|
||||
val t : TTT = null
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
// "Import Class" "false"
|
||||
// ERROR: Function 'f' must have a body
|
||||
// ERROR: Unresolved reference: TTT
|
||||
|
||||
fun f(: Int) {
|
||||
val t: TTT = null
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
// "Import Class" "false"
|
||||
// ERROR: Unresolved reference: TTT
|
||||
|
||||
val : Int
|
||||
get() {
|
||||
val t : TTT = null
|
||||
return 1
|
||||
}
|
||||
Reference in New Issue
Block a user