question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Upgrade to Kotlin 1.4 and support the new IR backend

See original GitHub issue

Libraries that depend on Mockk and want to leverage the new IR backend offered by Kotlin 1.4 cannot do so without changes to Mockk. For example, I’d love to upgrade Doodle and Measured to the new backend to improve JS bundle size.

The changes to Mockk include upgrading to Kotlin 1.4 and building with the new kotlin.js.compiler option set to ir, or both.

_Originally posted by @pusolito in https://github.com/mockk/mockk/issues/374#issuecomment-678993554_

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:5
  • Comments:19

github_iconTop GitHub Comments

5reactions
oleksiypcommented, Aug 24, 2020

I see. Yes, this needs to be done. Hope to allocate some time to rebuild next weekend.

Hope also the new Gradle doesn’t brake build, so badly as it was the previous time, requiring few days to recover it.

1reaction
Raibazcommented, Mar 7, 2021

Awesome, thanks a lot for trying this out.

I have been doing some more extensive tests and looks like issues like #553 are not happening with 1.10.7-SNAPSHOT, so I will likely make a release over the next week.

Read more comments on GitHub >

github_iconTop Results From Across the Web

1.4.30 Is Released With a New JVM Backend and Language ...
Kotlin /Native now supports Xcode 12.2. The macOS frameworks that have been added to the Xcode 12.2 release can be used with this...
Read more >
What's new in Kotlin 1.4
We are now migrating Kotlin/JVM and Kotlin/JS to the same IR. As a result, all three backends share a lot of logic and...
Read more >
Kotlin releases
1.4.30. Released: February 3, 2021. Release on GitHub. An incremental release with various improvements such as: New JVM backend, now in Beta. Preview...
Read more >
Kotlin/JS IR compiler
If you want to use the IR compiler backend for your project, you need to update all Kotlin dependencies to versions that support...
Read more >
What's new in Kotlin 1.4.30
Kotlin 1.4.30 offers preview versions of new language features, promotes the new IR backend of the Kotlin/JVM compiler to Beta, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found