Interesting, TIL, I was surprised that the import ...
# intellij
p
Interesting, TIL, I was surprised that the import even worked for resolving that extension at all. I always have thought you needed to bring
MyObject
into scope to actually use the extensions defined within it.
Copy code
with(MyObject) {
  println("".myMethod())
}