Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Scala 2.10.0-M3
    • Component/s: Macros
    • Labels:

      Description

      Welcome to Scala version 2.10.0-20120604-160250-507be3e3dd.
       
      scala> implicitly[ClassTag[List[T forSome {type T <: List[T]}]]]
      <console>:8: error: exception during macro expansion: null
                    implicitly[ClassTag[List[T forSome {type T <: List[T]}]]]
                              ^
       
      scala> implicitly[ClassTag[List[Any]]]
      res3: ClassTag[List[Any]] = ClassTag[class scala.collection.immutable.List]
      

      I'd expect a valid ClassTag in both cases, not just the second.

        Attachments

          Activity

          Hide
          burmako Eugene Burmako added a comment -

          Works fine with https://github.com/scalamacros/kepler/tree/nightly/2012-06-08.

          I guess that's because I pretty much redesigned tag generation during the reflection refactoring.

          Show
          burmako Eugene Burmako added a comment - Works fine with https://github.com/scalamacros/kepler/tree/nightly/2012-06-08 . I guess that's because I pretty much redesigned tag generation during the reflection refactoring.
          Show
          burmako Eugene Burmako added a comment - Fixed in https://github.com/scala/scala/commit/6355d1a0b825c99560d4ccec1a8769f7421b1a71

            People

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

              Dates

              • Created:
                Updated:
                Resolved: