Scala Programming Language
  1. Scala Programming Language
  2. SI-6199

reflective method invocations returns null instead of ()

    Details

      Description

      scala> class C { def foo = () }
      defined class C
      
      scala> cm.reflect(new C).reflectMethod(typeOf[C].member(newTermName("foo")).asMethod)()
      res0 @        0: Any = null
      

        Activity

        Show
        Eugene Burmako added a comment - https://github.com/scala/scala/commit/cac52ac3e3bd34dfc6540968c30d3e861799f9e4

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development