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

Verify error when coercing Map for a final class

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2.0-beta-2
    • 2.2.1
    • None
    • 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

            melix Cédric Champeau
            paulk Paul King
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: