DCOM-236: @Target isn't properly bitmasked #544

Closed
doctrinebot opened this Issue Mar 3, 2014 · 2 comments

2 participants

@doctrinebot

Jira issue originally created by user jaytaph:

The @target annotation can be used for adding annotation-targets. However, adding multiple targets results in unwanted behaviour, as the targets aren't OR'ed together, but simply added.

For instance: @target({METHOD, METHOD}) results in an annotation that can only be added to properties (2 + 2 = 4), instead of the wanted 2, and other weirdness.

@doctrinebot

Comment created by @ocramius:

Merged: doctrine/annotations@c1a3876

Note: no assigned fix version since doctrine/annotation versioning diverges from doctrine/common versioning.

Likely fixed with doctrine/annotations:1.1.3

@doctrinebot

Issue was closed with resolution "Fixed"

@doctrinebot doctrinebot added the Bug label Dec 6, 2015
@Ocramius Ocramius was assigned by doctrinebot Dec 6, 2015
@doctrinebot doctrinebot closed this Dec 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment