diff options
Diffstat (limited to 'java')
| -rw-r--r-- | java/base.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/java/base.go b/java/base.go index c828503d4..0d2f1ac55 100644 --- a/java/base.go +++ b/java/base.go @@ -889,8 +889,8 @@ func (j *Module) compile(ctx android.ModuleContext, aaptSrcJar android.Path) { kotlincFlags := j.properties.Kotlincflags CheckKotlincFlags(ctx, kotlincFlags) - // Dogfood the JVM_IR backend. - kotlincFlags = append(kotlincFlags, "-Xuse-ir") + // Workaround for KT-46512 + kotlincFlags = append(kotlincFlags, "-Xsam-conversions=class") // If there are kotlin files, compile them first but pass all the kotlin and java files // kotlinc will use the java files to resolve types referenced by the kotlin files, but |