Drop UNREACHABLE_CODE eager text range calculation

#KT-35242 Fixed
This commit is contained in:
Vladimir Dolzhenko
2019-12-04 17:47:21 +01:00
parent 9e4d7df86e
commit 272ca002d7
19 changed files with 321 additions and 126 deletions
+18
View File
@@ -0,0 +1,18 @@
// SCOPE: 'fun baa() {'
// SCOPE: ' val list = listOf<String>("Z")'
// SCOPE: ' }'
class Comment {
fun q() {
}
val someValue: String
get() {
return "X"
}
fun baa() {
val list = listOf<String>(<selection>"Z"</selection>)
}
}