Create class descriptors for local classes in illegal positions

Typecheck code in illegal selector position
Fixes exceptions on "val p = A.class" erroneous code
This commit is contained in:
Pavel V. Talanov
2015-12-28 16:49:46 +03:00
parent 06e829936e
commit 1c4d4f3e36
18 changed files with 127 additions and 9 deletions
@@ -1,10 +1,10 @@
interface Hi {
fun foo(): Int
interface <lineMarker></lineMarker>Hi {
fun <lineMarker></lineMarker>foo(): Int
}
// Closing brace is intentionally missed
val id = array("kotlin.FlexibleType"
private class Some(): Hi {
override fun foo() = 1
override fun <lineMarker></lineMarker>foo() = 1
}