https://kotlinlang.org logo
#eap
Title
h

hmole

10/22/2018, 1:29 PM
Did something change in 1.3 with anonymous classes(
object : SomeType
)? All of my code that's using them is not compiling for wiht 1.3
d

dsavvinov

10/22/2018, 2:04 PM
What’s the error message?
g

gildor

10/22/2018, 2:27 PM
KAPT had problems with such classes if parent type has generics (wrong stub generated) but this issue fixed on rc-190
h

hmole

10/23/2018, 6:12 AM
Yes, the classes are part of dagger graph. Okay then, glad it's fixed.
d

denis.zharkov

10/23/2018, 8:29 AM
@hmole what's the version do you use?
h

hmole

10/23/2018, 8:31 AM
RC3. I saw that it got fixed in 1.3.20, but I have another one: top level functions and typealiases from inside aar are not visible(neither in autocomplete nor compilation) in module that consumes it.
If I put a funcction/extension function inside an
object
, only then it can be referenced
d

denis.zharkov

10/23/2018, 8:38 AM
Please, try 1.3-RC4 to make sure it's fixed for you, too
Speaking on top-level functions, please report an issue http://kotl.in/issue
5 Views