Skip to content

Commit

Permalink
Fix test with illegal parameter name
Browse files Browse the repository at this point in the history
  • Loading branch information
ZacSweers committed Aug 3, 2023
1 parent e50ab45 commit e2af1e7
Showing 1 changed file with 4 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1273,19 +1273,15 @@ public final class AssistedServiceFactory_Impl implements AssistedServiceFactory
}
@Override
public AssistedService create(long p0_1663806, String other) {
return delegateFactory.get(other, p0_1663806);
public AssistedService create(long longValue, String other) {
return delegateFactory.get(other, longValue);
}
public static Provider<AssistedServiceFactory> create(AssistedService_Factory delegateFactory) {
return InstanceFactory.create(new AssistedServiceFactory_Impl(delegateFactory));
}
}
*/
testIsNotYetCompatibleWithKsp(
daggerProcessingMode,
"https://github.com/google/dagger/issues/3995"
)
compile(
"""
package com.squareup.test
Expand All @@ -1297,12 +1293,12 @@ public final class AssistedServiceFactory_Impl implements AssistedServiceFactory
data class AssistedService @AssistedInject constructor(
val int: Int,
@Assisted val string: String,
@Assisted val long: Long
@Assisted val longValue: Long
)
@AssistedFactory
interface AssistedServiceFactory {
fun create(long: Long, other: String): AssistedService
fun create(longValue: Long, other: String): AssistedService
}
"""
) {
Expand Down

0 comments on commit e2af1e7

Please sign in to comment.