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

The static type checker does not accept code using Matchers

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.3.10
    • None
    • Static Type Checker
    • None

    Description

      I read the discussion at GROOVY-5963, but I still think this should pass the static type checker in some way (taken from Groovy docs):

      def m = "foobarfoo" =~ /o(b.*r)f/
      assert m[0] == ["obarf", "bar"]
      assert m[0][1] == "bar"
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            mauromol Mauro Molinari
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: