Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Duplicate
    • Affects Version/s: Scala 2.10.0-M3
    • Fix Version/s: Scala 2.10.0-M6
    • Component/s: Reflection
    • Labels:
      None

      Description

      object Test extends App {
        def tagme[T: TypeTag](x: T) = typeTag[T]
        val foo = tagme{object Bar; Bar}
      }
      
      typechecking macro expansion `package`.this.materializeTypeTag[Bar.type](scala.reflect.`package`.mirror) at source-C:\Projects\Kepler\sandbox\Test.scala,line-3,offset=87
      reifying = Bar.type
      prefix = scala.reflect.`package`.mirror
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      Free term: object Bar(module)
      macro expansion has failed: ?
      Test.scala:3: error: No TypeTag available for Bar.type
        val foo = tagme{object Bar; Bar}
                       ^
      one error found
      

        Activity

        Hide
        Eugene Burmako added a comment -

        Superceded by SI-6204

        Show
        Eugene Burmako added a comment - Superceded by SI-6204

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development