Cannot find methods defined in another library written in kotlin?


#1

I wrote a little logger library in kotlin  and package it to logger.jar.

object Logger {

  public fun info (...) { ...}

}

But the compiler complains : " Unresolved reference: info "  when it's invoked in another kotlin file.

I don’t know why ?:expressionless:

outersky


#2

Could you file an issue in the tracker and attach your files? Thanks


#3

filed http://youtrack.jetbrains.com/issue/KT-1787