Comments (8)
Weird and interesting at the same time. Have you tried disabling the new IR backend compiler?
from spek.
@raniejade is the IR compiler just for targeting JS? I am using JVM
from spek.
@ryanelliott-wk There's an IR backend for JVM as well which was made the default in Kotlin 1.5
from spek.
I see the same exception with useIR=false
Here are my compiler options:
compileKotlin {
kotlinOptions {
useIR = false
}
}
compileTestKotlin {
kotlinOptions {
// Needed for runBlocking test coroutine dispatcher
freeCompilerArgs += "-Xuse-experimental=kotlin.Experimental"
freeCompilerArgs += "-Xopt-in=kotlin.RequiresOptIn"
useIR = false
}
}
from spek.
I just run the test you provided with Kotlin 1.5.0 – works fine for me...
from spek.
Interesting thanks @ntoskrnl! Maybe some caching issues? Have you tried doing a clean build @ryanelliott-wk ?
from spek.
Thanks for trying it out @ntoskrnl!
@raniejade I'm still having the issue with a clean build. I'll try to do a more standalone reproduction - maybe there is another dependency somewhere in my project that is contributing to the issue.
from spek.
Likely https://youtrack.jetbrains.com/issue/KT-47475
from spek.
Related Issues (20)
- use IR for JS
- Spek plugin 2.0.19 crashes on AS Flamingo and Java 1.8 HOT 1
- The plugin is not compatible with the current version
- Before and After scenario not in proper order HOT 1
- MockK crashes when running Spek tests from Android Studio HOT 4
- Port #965 to 2.x branch
- Test fails in Spek Android Studio plugin but works in Gradle due to different classpath HOT 3
- JCenter migration issue, spek-runtime is missing HOT 1
- Spek Framework Plugin incompatible with IntelliJ IDEA 2021.2 HOT 2
- add automatic-module name so that it can be used as proper module
- Could not find spek-dsl-metadata 2.0.17 HOT 6
- Run test button does nothing HOT 2
- Spek should be compatible with JUnit Platform suites HOT 1
- Feature: Support running tests in random order
- Incompatible with IntelliJ IDEA 2022.1 HOT 25
- Gherkin rule dsl missing
- Multiplatform status? HOT 1
- Incompatible with 2022.2.1 HOT 13
- klib publishing fails due to missing checksum
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spek.