https://kotlinlang.org logo
Title
s

Snild

11/23/2017, 11:25 AM
error()
looks good. But we're all in agreement that this is a bit weird, right? Would it be reasonable to file an issue on the compiler, to get some kind of official opinion on whether or not it works as intended?
e

elizarov

11/23/2017, 11:45 AM
File an issue. Try it first on 1.2-RC, though, to make sure it is not yet fixed there.
s

Snild

11/23/2017, 11:50 AM
Checked with 1.2-RC over at https://try.kotlinlang.org (very convenient!) -- same error there.
e

elizarov

11/23/2017, 11:51 AM
s

Snild

11/23/2017, 11:54 AM
Thanks, writing the issue now...
Thanks for the comments and discussion, everyone! I've created an issue at https://youtrack.jetbrains.com/issue/KT-21417
k

karelpeeters

11/23/2017, 1:18 PM
Just so you know this, the slack link in that issue will die in a couple of weeks when this discussion goes over Slack's 10000 messages limit.
s

Snild

11/23/2017, 4:10 PM
I think all the important info is in the issue anyway, but I'll take an extra look. Thanks for the heads-up, Karel.