groovy
  1. groovy
  2. GROOVY-6592

Allow @BaseScript on import or package definition

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.3.0-beta-1
    • Component/s: None
    • Labels:
      None
    • Number of attachments :
      0

      Description

      It would be nice if @BaseScript could be used on a package/import definition, like this:

      @BaseScript(MyScript)
      import groovy.transform.BaseScript
      
      println 'ok'
      

        Activity

        Show
        CÚdric Champeau added a comment - See https://github.com/groovy/groovy-core/commit/7f066ec08fbbb5a7187c0094dc2e1da0f41d843a

          People

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

            Dates

            • Created:
              Updated:
              Resolved: