phisch
06/02/2021, 1:18 PMmutableListOf
inside of commonMain
. I can use it in every other directory (commonTest
, nativeMain
and nativeTest
). I have reinstalled the IDE, the Kotlin plugin, disabled all other plugins, tried the EAP and created multiple new projects to test this, and it is always the same issue. Here is a video showing that this doesn't work in `commonMain`:mutableListOf
will not be available in commonMain
when copying this test class to `commonMain`:Timo Gruen
06/02/2021, 2:03 PMsrc/org/example/app
should be the “main” package of your application / code.
Btw. tests are not in the src
module, instead one typically has a test
module with the same package structure like your src
:
test/org/example/app
*main
which might collide with some internal logic of intellij.phisch
06/02/2021, 2:06 PMmutableListOf
in commonMain
and then when i restart it, it doesn't find it again. Its completely random, idk.Timo Gruen
06/02/2021, 2:08 PMphisch
06/02/2021, 2:09 PM