// scalac: -Yimports:scala,hello.world.minidef

// import at top level or top of package disables implicit import.
// the import can appear at any statement position, here, end of package.
// Update: with new trick, the import has to be completed before usages.

import hello.world.minidef.{Magic => Answer}

package p {
  class C {
    val v: Numb = Answer
    def greet() = println("hello, world!")
  }
}
