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

Enable implicit parameters in the presence of view- or context bounds

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: Scala 2.8.0, Scala 2.9.0, Scala 2.9.1
    • Fix Version/s: Scala 2.9.1, Scala 2.10.0
    • Component/s: Misc Compiler
    • Labels:
      None

      Description

      Currently, a method or class with view- or context bounds may not define any additional implicit parameters. This restriction is becoming important, as context bounds are used more often. For example, embedded DSLs (in particular, those embedded using lightweight modular staging) are suffering from a lot of verbosity because of this restriction.

        Activity

        Hide
        Commit Message Bot added a comment -

        (phaller in r25370) Enable implicit parameters in the presence of view- or context bounds. Fix SI-4839. Review by moors.

        Show
        Commit Message Bot added a comment - (phaller in r25370 ) Enable implicit parameters in the presence of view- or context bounds. Fix SI-4839 . Review by moors.
        Hide
        Commit Message Bot added a comment -

        (phaller in r25372) Add test for SI-4839. No review.

        Show
        Commit Message Bot added a comment - (phaller in r25372 ) Add test for SI-4839 . No review.
        Hide
        Jason Zaugg added a comment -

        The spec needs a little update after this one, it explicitly states "Also, a method or class with view- or context bounds may not define any additional implicit parameters."

        Show
        Jason Zaugg added a comment - The spec needs a little update after this one, it explicitly states "Also, a method or class with view- or context bounds may not define any additional implicit parameters."

          People

          • Assignee:
            Philipp Haller
            Reporter:
            Philipp Haller
          • Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development