https://kotlinlang.org logo
Title
l

lukaswelte

10/18/2018, 9:15 AM
runCatching
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/run-catching.html is in the API docs as there since version 1.0 for JVM. I use (Java 8 Maven project)
<dependency>
	<groupId>org.jetbrains.kotlin</groupId>
	<artifactId>kotlin-stdlib-jdk8</artifactId>
	<version>1.2.71</version>
</dependency>
But it does not contain the function (IntelliJ won’t find it). Is that a documentation bug, or do I need to import the stdlib in another way?
v

Vladyslav Sitalo

10/18/2018, 9:16 AM
I think it’s a documentation bug. It’s there only since 1.3 afaik
l

lukaswelte

10/18/2018, 9:17 AM
Thank you, will check in detail and open a documentation PR to fix this
e

elizarov

10/18/2018, 9:51 AM
Thanks 👍