Details

      Description

      val im: InstanceMirror = cm.reflect(a)
      val cs = im.reflectClass.symbol
      val f = cs.typeSignature.declaration(newTermName("x")).asTermSymbol
      val fm: FieldMirror = im.reflectField(f)
      
      im: reflect.runtime.universe.InstanceMirror = scala.reflect.runtime.JavaMirrors$JavaMirror$JavaInstanceMirror@225765b0
      cs: reflect.runtime.universe.ClassSymbol = class A
      f: reflect.runtime.universe.TermSymbol = method x
      fm: reflect.runtime.universe.FieldMirror = scala.reflect.runtime.JavaMirrors$JavaMirror$JavaFieldMirror@26f50154
      

        Activity

        Show
        Eugene Burmako added a comment - Fixed in https://github.com/scala/scala/commit/b578059b43a4caaadee2cb20f74cd9a7c876c8ef

          People

          • Assignee:
            Eugene Burmako
            Reporter:
            Eugene Burmako
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development