From 7c023c12725572aa1e1ddd3c5f2d73a6f374f946 Mon Sep 17 00:00:00 2001 From: Eliezer Graber Date: Thu, 7 Mar 2024 21:26:51 -0500 Subject: [PATCH] Remove val from function parameter in test --- .../test/src/test/kotlin/me/tatarka/inject/test/FailureTest.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kotlin-inject-compiler/test/src/test/kotlin/me/tatarka/inject/test/FailureTest.kt b/kotlin-inject-compiler/test/src/test/kotlin/me/tatarka/inject/test/FailureTest.kt index fdc8ff68..08e47a13 100644 --- a/kotlin-inject-compiler/test/src/test/kotlin/me/tatarka/inject/test/FailureTest.kt +++ b/kotlin-inject-compiler/test/src/test/kotlin/me/tatarka/inject/test/FailureTest.kt @@ -756,7 +756,7 @@ class FailureTest { import me.tatarka.inject.annotations.Assisted @Inject class Bar - @Inject fun Foo(val bar: Bar, @Assisted assisted: String): String = assisted + @Inject fun Foo(bar: Bar, @Assisted assisted: String): String = assisted typealias Foo = () -> String @Component abstract class MyComponent {