Files
kotlin-fork/compiler/testData/codegen/box
Alexander Udalov d59f2bcc80 Fix KotlinReflectionInternalError on invoking callBy with defaults in supertypes
There are two parts in this change:

1) Previously, we looked up $default methods with the incorrect
   signature in supertypes. For example in defaultInSuperClass.kt, we'd
   try to find a method foo$default with the signature `(B, String,
   String, int, Object)` in the class A. Now we're modifying the array
   of parameter types on each step if we're looking for a static
   $default method, by assigning its first element to be the containing
   class. This fixes cases when defaults come from a superclass.
2) For interfaces, $default methods are actually located in the
   corresponding DefaultImpls class. Now we look up that class and
   search for the $default method there. Note that this is needed
   because of KT-33430. This fixes cases when defaults come from a
   superinterface.

 #KT-13936 Fixed
2019-08-22 18:04:00 +02:00
..
2019-07-31 11:18:44 +02:00
2019-07-31 11:18:44 +02:00
2019-08-04 01:35:05 +03:00
2019-08-04 01:35:05 +03:00
2018-10-15 00:03:45 +03:00
2018-07-10 13:34:19 +03:00
2019-07-31 11:18:44 +02:00
2019-06-10 17:37:52 +03:00
2019-04-08 13:10:22 +02:00
2018-07-10 13:34:19 +03:00
2019-05-06 19:34:25 +03:00
2019-08-04 01:35:05 +03:00
2018-08-09 14:22:50 +03:00
2019-08-15 13:01:39 +03:00
2019-01-24 23:05:56 +03:00
2018-06-14 19:54:30 +03:00
2018-10-22 16:32:55 +02:00
2018-10-10 17:27:37 +03:00
2019-02-19 16:37:47 +01:00