Hi all, We were trying to bump Kotlin to 1.3.61 bu...
# announcements
s
Hi all, We were trying to bump Kotlin to 1.3.61 but ran into an issue where we cannot test
internal
anymore from the
test
folder of the module. Is this not allowed anymore?
j
cc @abreslav
t
Do you use
multiplatform
plugin?
Which platform affected in your case?
s
jvm only
it’s the Arrow project we’re trying to bump
t
It works in my Kotlin/JS project with Kotlin
1.3.61
. Do you use clean environment (clean Gradle caches) for new version check? Local Gradle caches - first candidate.
a
@simon.vergauwen This may be related/caused by https://youtrack.jetbrains.com/issue/KT-17630. What is the actual error? Does it happen only in the IDE? How can I reproduce it?
s
Hi @Alexey Belkov [JB], This is the error I got from
Build > Rebuild Project
after bumping https://github.com/arrow-kt/arrow master to
1.3.60
.
Copy code
e: /Users/simonvergauwen/Projects/arrow2/arrow/modules/streams/arrow-streams/src/test/kotlin/arrow/streams/internal/FreeCTest.kt: (234, 61): Cannot access 'Token': it is internal in 'arrow.streams.internal'
If I understand the issues correct it’s caused there by special
test
gradle configs? We aren’t doing that in Kotlin AFAIK, everything is in the default
test
folders.
I’ll run a CLI build while I am going for lunch. I’ll report back in a bit. Thanks for the follow-up
Same error message from CLI. Builds seems to occur in slightly different order and fails with other module first.
a
Thanks, looks like a bug, I'll investigate.
👍 1
s
Awesome, if I can help you with any additional info feel free to DM 😉
i
I reproduced the problem and created the issue - https://youtrack.jetbrains.com/issue/KT-35942
🙏 1
s
Thank you so much @Ivan Kubyshkin [JetBrains]
j
Nice, thanks!
r
@Alexey Belkov [JB] I’ve created a tiny project to reproduce the issue. I hope it helps: https://github.com/vRallev/kotlin-compiler-bug
👍 2