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`:phisch
06/02/2021, 1:19 PMmutableListOf will not be available in commonMain when copying this test class to `commonMain`:phisch
06/02/2021, 1:33 PMTimo 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/appTimo Gruen
06/02/2021, 2:03 PM*main which might collide with some internal logic of intellij.phisch
06/02/2021, 2:06 PMphisch
06/02/2021, 2:08 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 PMTimo Gruen
06/02/2021, 2:09 PMphisch
06/02/2021, 2:09 PMphisch
06/02/2021, 3:45 PM