jdiaz
05/11/2020, 7:27 PMexpect class in JVM with a property path and the extending class has a method getPath() ? (I'm talking about File class).
I'm trying something like actual class MyFile extends <http://java.io|java.io>.File and MyFile has a property path.edenman
05/11/2020, 7:43 PMedenman
05/11/2020, 7:43 PMactual typealias MyFile = <http://java.io|java.io>.Filejdiaz
05/11/2020, 7:44 PMedenman
05/11/2020, 7:54 PMactual class MyFile(pathname: String) : File(pathname) {
actual val myPath: String
get() = path
}edenman
05/11/2020, 7:54 PMjdiaz
05/11/2020, 7:57 PMjdiaz
05/11/2020, 7:58 PM