Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-51947

Symbol from unrelated Extension point conflicts with syntax?

      I have symbol that implemented under my @ExtensionPoint, according to @Symbol javadocs it shouldn't conflict with other ExtensionPoints or syntax.
      Users reported that

       anyOf { branch: "XXX"} 
      

      conflicts with

       @Symbol{"branch"}
      

      that shouldn't happen.
      https://github.com/KostyaSha/github-integration-plugin/issues/274

          [JENKINS-51947] Symbol from unrelated Extension point conflicts with syntax?

          Andrew Bayer added a comment -

          can you point me to the code where you're looking up the symbol? I believe (it's been a while since I've spent much time in the code in question, so I'm working from memory) that symbol lookups are scoped, so that if you don't provide a scope, you can end up with a result that isn't what you're expecting...

          Andrew Bayer added a comment - can you point me to the code where you're looking up the symbol? I believe (it's been a while since I've spent much time in the code in question, so I'm working from memory) that symbol lookups are scoped, so that if you don't provide a scope, you can end up with a result that isn't what you're expecting...

          Kanstantsin Shautsou added a comment - Hi, issues discussion is here https://github.com/KostyaSha/github-integration-plugin/issues/274

            Unassigned Unassigned
            integer Kanstantsin Shautsou
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: