https://pantsbuild.org/ logo
#development
Title
# development
w

witty-crayon-22786

09/30/2019, 7:55 PM
@happy-kitchen-89482: re: checking for union members: an awkward strawman impl would be to do:
Copy code
@rule
def my_rule(.., mirror: Mirror) -> ..:
  if mirror.is_union_member(TestTarget, target):
    ..
  ..