Denis Zharkov
9e03b712de
Use flexible upper bound of parameter's type for vararg argument
...
See the issue and the test. The problem was that when generating
call to `foo` method in member scope of `AT<*>` its resulting descriptor
after substitution and approximation was: fun foo(x: Nothing..Array<out Nothing>).
This signature is correct, but when using this parameter type
for generating a vararg argument the assertion is violated that
the type of the argument must be an array
(by default we're using lower flexible bound everywhere)
The solution is using upper bound for flexible types that should
always have a form of Array<out T> for varargs (even for such corner cases)
both for Kotlin and Java declarations.
#KT-14607 Fixed
2017-02-28 10:40:54 +03:00
..
2017-02-21 13:01:40 +01:00
2016-12-28 22:28:30 +03:00
2017-02-28 10:40:54 +03:00
2017-02-21 12:33:45 +03:00
2017-02-06 16:22:26 +03:00
2016-12-28 22:28:30 +03:00
2017-02-06 19:41:32 +03:00
2017-02-21 13:01:40 +01:00
2016-12-28 22:28:30 +03:00
2016-12-28 22:28:30 +03:00
2017-02-15 20:43:25 +03:00
2017-02-15 10:46:48 +03:00
2016-12-28 22:28:30 +03:00
2016-12-28 22:28:30 +03:00
2016-12-28 22:28:30 +03:00
2017-01-27 14:09:13 +01:00
2017-02-08 11:07:27 +03:00
2016-12-28 22:28:30 +03:00
2016-12-28 22:28:30 +03:00
2017-02-07 14:07:20 +03:00
2017-02-21 13:01:40 +01:00
2017-01-13 18:01:05 +01:00
2016-12-28 22:28:30 +03:00
2017-01-10 11:44:51 +03:00
2016-12-28 22:28:30 +03:00
2017-01-24 16:59:47 +03:00
2016-12-28 22:28:30 +03:00
2016-12-28 22:28:30 +03:00
2017-01-23 20:09:36 +03:00
2016-12-28 22:28:30 +03:00
2016-12-28 22:28:30 +03:00
2016-12-28 22:28:30 +03:00
2017-02-21 13:01:40 +01:00
2016-12-28 22:28:30 +03:00
2017-01-13 10:31:07 +03:00
2017-01-10 11:44:51 +03:00
2016-12-28 22:28:30 +03:00
2017-02-02 16:31:49 +01:00
2016-12-28 22:28:30 +03:00
2016-12-28 22:28:30 +03:00
2016-12-28 22:28:30 +03:00
2017-02-01 18:20:30 +03:00
2016-12-28 22:28:30 +03:00
2016-12-28 22:28:30 +03:00
2016-12-28 22:28:30 +03:00
2017-02-21 13:01:40 +01:00
2017-02-10 16:05:15 +03:00
2017-02-10 16:05:15 +03:00
2016-12-28 22:28:30 +03:00
2016-12-28 22:28:30 +03:00
2016-12-28 22:28:30 +03:00
2016-12-28 22:28:30 +03:00
2016-12-28 22:28:30 +03:00
2017-02-21 13:01:40 +01:00
2016-12-28 22:28:30 +03:00
2016-12-28 22:28:30 +03:00
2016-12-28 22:28:30 +03:00
2017-02-10 16:05:15 +03:00
2016-12-28 22:28:30 +03:00
2016-12-28 22:28:30 +03:00
2016-12-28 22:28:30 +03:00
2016-12-28 22:28:30 +03:00
2016-12-28 22:28:30 +03:00
2017-02-21 13:01:40 +01:00
2016-12-29 16:15:49 +03:00
2016-12-28 22:28:30 +03:00
2017-02-21 13:01:40 +01:00
2017-02-10 16:05:15 +03:00
2017-02-21 13:01:40 +01:00
2016-12-28 22:28:30 +03:00
2016-12-28 22:28:30 +03:00
2016-12-28 22:28:30 +03:00
2016-12-28 22:28:30 +03:00
2016-12-28 22:28:30 +03:00
2016-12-28 22:28:30 +03:00
2017-01-25 18:09:23 +03:00
2016-12-28 22:28:30 +03:00
2016-12-28 22:28:30 +03:00
2016-12-28 22:28:30 +03:00
2016-12-28 22:28:30 +03:00
2016-12-28 22:28:30 +03:00
2016-12-28 22:28:30 +03:00
2016-12-28 22:28:30 +03:00
2016-12-28 22:28:30 +03:00
2016-12-28 22:28:30 +03:00
2017-02-01 17:14:50 +03:00
2016-12-28 22:28:30 +03:00
2017-02-21 13:01:40 +01:00
2016-12-28 22:28:30 +03:00
2016-12-28 22:28:30 +03:00
2016-12-28 22:28:30 +03:00
2017-01-24 15:17:47 +01:00