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

Verify error when coercing Map for a final class

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.0-beta-2
    • Fix Version/s: 2.2.1
    • Component/s: None
    • Labels:
      None

      Description

      final class Foo {}
      [bar: { -> }] as Foo
      

      ProxyGenerator or ProxyGeneratorAdapter should be checking for the final class and providing a nicer error message.

        Attachments

          Activity

            People

            • Assignee:
              melix C├ędric Champeau
              Reporter:
              paulk Paul King
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: