Uploaded image for project: 'Scala Programming Language'
  1. Scala Programming Language
  2. SI-801

require explicit result type for implicit conversions?

    Details

    • Type: Improvement
    • Status: CLOSED
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Specification
    • Labels:
      None

      Description

      Martin wrote on the scala-user list, "In general it's a good idea always to write a result type for an implicit method. Maybe the language should require it."

      I've been bitten myself a couple times by problems that went away once I added a result type to an implicit so I thought I'd open a ticket on this.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mcdirmid mcdirmid
                Reporter:
                sethtisue Seth Tisue
                TracCC:
                Paul Phillips
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: