I want to make some simple contributions to the standard library project. However, I’m encountering is a few compile errors when opening the standard library project in IntelliJ. Here’s my setup:
IntelliJ 13, v 133.162, Kotlin Plugin, 0.6.1561
Here is the error I'm getting,
StringsJVM.kt, line 150 Kotlin: Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type java.nio.charset.Charset?
and that error is repeated 4 other times in different parts of the source. This error makes me think something might be amiss with KAnnotator setup: Maybe Charset isn't properly annotated? Or maybe I'm not loading the annotation XML files properly? Or maybe this is just an error in the library that no one else has noticed? (seems unlikely)
My inexperience with Kotlin and IntelliJ (and pretty much all the build infrastucture (Gradle, maven etcc…)) in hindering my ability to debug…