escodro
08/02/2023, 3:35 PMCommonExtension
:
Code:
fun CommonExtension<*, *, *, *>.defaultConfig() {...}
Error:
5 type arguments expected for interface CommonExtension<BuildFeaturesT : BuildFeatures, BuildTypeT : BuildType, DefaultConfigT : DefaultConfig, ProductFlavorT : ProductFlavor, AndroidResourcesT : AndroidResources>
I tried something to type them, but then the call fails saying that it doesn’t have enough information to infer the type.
fun <BF : BuildFeatures, BT : BuildType, DC : DefaultConfig, PF : ProductFlavor> CommonExtension<BF, BT, DC, PF>.defaultConfig() {
Does anybody else has faced this and knows how to update it?
Thanks a lot in advance!Erik Ghonyan
08/15/2023, 11:07 AM*
?
fun CommonExtension<*, *, *, *, *>.defaultConfig() {...}
Erik Ghonyan
08/15/2023, 11:08 AM