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

nested macro usage fails in SLICK: failed to typecheck against macro def return type: not found: value free$q8

    Details

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

      Description

      The responsible lines are:

      val q = Queryable[CoffeesTable]
      q.map(e1 => q.map(e2=>e1))
      

      It did work with earlier versions of trunk.

      The easiest way to reproduce the problem is:

        Activity

        Christopher Vogt created issue -
        Christopher Vogt made changes -
        Field Original Value New Value
        Priority Major [ 3 ] Blocker [ 1 ]
        Description The responsible lines are:
        {code}
        val q = Queryable[CoffeesTable]
        q.map(e1 => q.map(e2=>e1))
        {/code}

        The easiest way to reproduce the problem is cloning slick, checking out the typecheckFreeBug branch and


        Maybe



        The responsible lines are:
        {code}
        val q = Queryable[CoffeesTable]
        q.map(e1 => q.map(e2=>e1))
        {code}

        It did work with earlier versions of trunk.

        The easiest way to reproduce the problem is:
         * clone slick (https://github.com/typesafehub/slick/)
         * check out the branch typecheckFreeBug
         * get sbt-0.12-beta2 ( http://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/sbt-launch/0.12.0-Beta2/sbt-launch.jar )
         * compile/run the relevant tests: sbt test-only scala.slick.test.queryable.QueryableTest
        Eugene Burmako made changes -
        Status Open [ 1 ] CLOSED [ 6 ]
        Resolution Fixed [ 1 ]
        Jason Zaugg made changes -
        Fix Version/s Scala 2.10.0 [ 11202 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development