-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot compile code with expect
type
#303
Comments
I tried adding |
|
I'm using your fantastic library to test my multiplatform annotation processor which uses common source code and generates ios source sets. The tests look sth like this.
Now everything works fine until I add
expect
modifier to the test code, e. g.expect interface InterfaceGenerationExample
. There is aCOMPILATION_ERROR
and the error ise: /var/folders/8n/.../T/.../sources/interface1.kt: (7, 1): The feature "multi platform projects" is experimental and should be enabled explicitly
.Right now the tests are run in
jvmTest
sourceSet, but I also tried running them incommonTest
source set and the result is the same. For both kapt and ksp.Is there any way to test code with
expect / actual
modifiers?The text was updated successfully, but these errors were encountered: