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

bitter-ability-32190

10/06/2022, 7:01 PM
One more 🙂
Copy code
rule_runner = RuleRunner(rules=rules)
    rule_runner.write_files({"BUILD": "", "knife.utensil": "", "bowl.utensil": ""})
    field_sets = (
        FortranFieldSet(Address("knife"), FortranSource("knife.utensil", Address("knife"))),
        FortranFieldSet(Address("bowl"), FortranSource("bowl.utensil", Address("bowl"))),
    )
produces:
Copy code
E           pants.engine.target.InvalidFieldException: The 'source' field in target knife:knife must have 1 file, but it had 0 files.
1
Second address should be empty it seems 😮