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

macros.Context.enclosingClass returns enclosing Template instead of ClassDef/ModuleDef

    Details

      Description

      This is an implementation artifact discussed here: http://groups.google.com/group/scala-internals/browse_thread/thread/d11dc103742f9493. Would be very easy to fix by switching to a different implementation strategy.

        Activity

        Show
        Eugene Burmako added a comment - https://github.com/scala/scala/pull/1348
        Hide
        Grzegorz Kossakowski added a comment -
        Show
        Grzegorz Kossakowski added a comment - Fixed in https://github.com/scala/scala/pull/1348

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development