Closed JakeWharton closed 1 month ago
I'll open a draft PR. Do you need Poko beta versions tracking the Kotlin beta versions? And/or snapshots?
Eh, I mean not really. I/we are supposed to be testing the EAP versions since we (Cash) are part of the EAP champions. I would be fine with snapshots, especially if we can do it in a way that can be landed on main, such as through reflection. Needing to publish separately solely for the betas almost seems like too much work.
Reopening because #364 is still failing 🤔
Caused by: java.lang.NoSuchMethodError: 'void org.jetbrains.kotlin.gradle.targets.js.ir.DefaultIncrementalSyncTask.setDuplicatesStrategy(org.gradle.api.file.DuplicatesStrategy)'
Seems like maybe a compiler bug because this line calls setDuplicatesStrategy
on the CopySpec
interface? Curious whether this affects Redwood or Mosaic using the SNAPSHOT, or whether it's specific to the sample.
Is the snapshot updated? I can try it out.
Redwood seems good, too, but still red with other problems
Kotlin 2.0.20-Beta2
introduces more breaking changes.
java.lang.NoSuchMethodError: 'void org.jetbrains.kotlin.ir.declarations.impl.IrVariableImpl.<init>(int, int, org.jetbrains.kotlin.ir.declarations.IrDeclarationOrigin, org.jetbrains.kotlin.ir.symbols.IrVariableSymbol, org.jetbrains.kotlin.name.Name, org.jetbrains.kotlin.ir.types.IrType, boolean, boolean, boolean)'
at dev.drewhamilton.poko.ir.HashCodeGenerationKt.generateHashCodeMethodBody(hashCodeGeneration.kt:75)
at dev.drewhamilton.poko.ir.PokoMembersTransformer.visitFunctionNew(PokoMembersTransformer.kt:54)
@lupuuss Thanks, fixed in the latest snapshot
Released as 0.17
Seems broken with
2.0.20-Beta1
: