https://kotlinlang.org logo
Title
h

Hullaballoonatic

06/15/2018, 9:58 PM
Are there any outs for removing the error, though?
d

diesieben07

06/15/2018, 9:59 PM
Which error?
h

Hullaballoonatic

06/15/2018, 9:59 PM
intellij underlining it in red saying it's only allowed with that flag enabled
d

diesieben07

06/15/2018, 9:59 PM
The code-snippet I posted added to your build.gradle should remove it
h

Hullaballoonatic

06/15/2018, 10:00 PM
that's what i figured. eh. not a huge deal. kotlin will add it as non-experimental eventually. thanks for the help
d

diesieben07

06/15/2018, 10:00 PM
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

Hullaballoonatic

06/15/2018, 10:00 PM
I'll give that a shot. Yeah, I'm on 1.2.50
d

diesieben07

06/15/2018, 10:01 PM
Yeah you need to re-import whenever you change the build.gradle
IntelliJ shoudl suggest to do so, too
h

Hullaballoonatic

06/15/2018, 10:01 PM
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

diesieben07

06/15/2018, 10:02 PM
let me re-check my sources
Not wearing out anything, this is why we are here 😉
h

Hullaballoonatic

06/15/2018, 10:02 PM
can you manage it on your machine?
d

diesieben07

06/15/2018, 10:03 PM
i did in 1.2.40, have not used jvmdefault in 1.2.50 yet
will try in just a second
h

Hullaballoonatic

06/15/2018, 10:04 PM
got it
set it to compatibility mode
and the error disappeared
d

diesieben07

06/15/2018, 10:04 PM
jvm-default=compatibility?
h

Hullaballoonatic

06/15/2018, 10:04 PM
-Xjvm-default=compatibility
d

diesieben07

06/15/2018, 10:05 PM
Strange. Enable should work as well, according to the update notes. 🤷
h

Hullaballoonatic

06/15/2018, 10:06 PM
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

diesieben07

06/15/2018, 10:07 PM
Glad you got it working 😉
👍 1
h

Hullaballoonatic

06/15/2018, 10:08 PM
you're the best~
🙇‍♂️ 1
d

diesieben07

06/15/2018, 10:24 PM
For the record, tried it out here and it seems "enable" is indeed broken.