Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-5127

Assignement to interface is wrongly marked as an error

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-beta-1
    • Fix Version/s: 2.0-beta-2
    • Component/s: Static Type Checker
    • Labels:
      None

      Description

      The following code throws an incompatible assignement type error, though the RHS implements the interface shown on the LHS.

      Serializable ser = 'String'
      

        Attachments

          Activity

            People

            • Assignee:
              melix Cédric Champeau
              Reporter:
              melix Cédric Champeau
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: