Check OOB stays the same for string in super type constructor call

This commit is contained in:
Nikolay Krasko
2017-07-17 22:11:00 +03:00
parent 41276c950b
commit bcbff98382
2 changed files with 18 additions and 0 deletions
@@ -0,0 +1,12 @@
// FALSE
abstract class S(val f: () -> Unit)
fun foo(s: String, f: () -> Unit) {}
class ST : S(
{
foo("a <caret>test calculator") {
}
})