Is there a way to run pre-release versions in Kotlin notebooks? Have been playing with context receivers, but when enabling that in 1.6.20 it creates pre-prerelease versions of my libs that cannot be loaded in Jupyter kernels.
i
Ilya Muradyan
04/14/2022, 2:03 PM
Hi, please try this in the notebook cell
@file:CompilerArgs("-Xskip-prerelease-check")
p
Peter
04/14/2022, 3:30 PM
Works like a charm, just has the be run in the first cell before my lib is loaded. Thanks!!!
a
altavir
04/14/2022, 7:56 PM
Probably even better to just add context receiver flag in the same way.
👍 1
i
Ilya Muradyan
04/14/2022, 10:30 PM
Context receivers won't work in the notebook(
a
altavir
04/15/2022, 9:19 AM
Ah, OK. Still in prototype. Does not work on JS as well.