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

hundreds-father-404

01/30/2020, 12:03 AM
It looks like we don’t support adding and subtracting globs anymore?
Copy code
python_library(
  name = 'strutil',
  sources = rglobs('strutil.py') + rglobs('strutil.py'),
  tags = {'type_checked'},
)
Copy code
▶ ./pants --no-print-exception-stacktrace filedeps --no-transitive src/python/pants/util:strutil

ERROR: Build graph construction failed: ExecutionError 1 Exception encountered:
  MappingError: Failed to parse src/python/pants/util/BUILD:
TypeError("unsupported operand type(s) for +: 'RGlobs' and 'RGlobs'",)