Closed
Description
Compiler version
3.1.3 and later
Minimized code
val p = java.nio.file.Paths.get(".")
println(p.toRealPath)
Output
Playground$$$Lambda$20996/0x00000008047106c8@3cdbaf1c
Expectation
Compilation error (like before) or file path (like what I want). Calling java functions without parentheses was my good habit that suddenly turned out to be bad one.