https://kotlinlang.org logo
#kontributors
Title
# kontributors
d

devbridie

12/01/2017, 11:05 AM
Hi, Trying to write a test for Map.getOrDefault in j2k. However, the test runner throws
// ERROR: Unresolved reference: getOrDefault
, assumedly because getOrDefault was defined in JDK8. How should I deal with this?
s

semoro

12/01/2017, 8:42 PM
Name your
.java
and
.kt
file something like
java8Name.java
and so on
d

devbridie

12/06/2017, 2:19 PM
Unfortunately this solution isn't helping me. I have uploaded my situation to here: https://github.com/devbridie/kotlin/commit/e049e452d0765ac62d844c72837f3533185870bb
5 Views