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

use of reify results in unpositioned trees

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: Scala 2.10.0
    • Fix Version/s: Scala 2.10.3-RC1
    • Component/s: None
    • Labels:
      None

      Description

      object Test {
        val c: reflect.macros.Context = ???
        import c.universe._
        reify {
          c.Expr[Any](Literal(Constant(0))).splice
        }
      }
      
      scalac-hash v2.10.2 -Yrangepos sandbox/test.scala       [info] v2.10.2 => /Users/jason/usr/scala-v2.10.2-0-g60d462e
      ======= Position error
      Unpositioned tree #2392
      

      Patch pending.

        Activity

        Show
        Adriaan Moors added a comment - https://github.com/scala/scala/pull/2721

          People

          • Assignee:
            Jason Zaugg
            Reporter:
            Jason Zaugg
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development