Are there any outs for removing the error, though?
# getting-started
h
Are there any outs for removing the error, though?
d
Which error?
h
intellij underlining it in red saying it's only allowed with that flag enabled
d
The code-snippet I posted added to your build.gradle should remove it
h
that's what i figured. eh. not a huge deal. kotlin will add it as non-experimental eventually. thanks for the help
d
Assuming you are on 1.2.50, the flag changed in that version
So if you are on an earlier version the flag is different
Did you re-import the gradle project?
h
I'll give that a shot. Yeah, I'm on 1.2.50
d
Yeah you need to re-import whenever you change the build.gradle
IntelliJ shoudl suggest to do so, too
h
yeah, it has been set to autoimport
it's not fixing the error, but like i said. it's nbd. i appreciate your assistance regardless. I don't wanna wear out my welcome.
d
let me re-check my sources
Not wearing out anything, this is why we are here 😉
h
can you manage it on your machine?
d
i did in 1.2.40, have not used jvmdefault in 1.2.50 yet
will try in just a second
h
got it
set it to compatibility mode
and the error disappeared
d
jvm-default=compatibility?
h
-Xjvm-default=compatibility
d
Strange. Enable should work as well, according to the update notes. 🤷
h
welp, not gonna complain for now. if i were concerned with completely understanding every single aspect of every component or application or language i ever use, then i'd still be trying to wrap my head around 1s and 0s
thanks again!
d
Glad you got it working 😉
👍 1
h
you're the best~
🙇‍♂️ 1
d
For the record, tried it out here and it seems "enable" is indeed broken.