Skip to content

deduce.py --verbose full reads 'full' as a file name #1302

Closed

Description

@jsiek

deduce.py --verbose full treats full as a file to check, so it stops with "full was not found!".

Found while checking PR #1299 (show the operations of where-function instances that print alike).

Repro

python deduce.py --verbose full test/should-validate/fib.pf

Observed

full was not found!

The level is set to FULL, but full is then also read as a file name. fib.pf isn't checked.

Expected

The same output as --verbose at the FULL level for fib.pf, which is what CLAUDE.md's "Useful deduce.py flags" (--verbose (or --verbose full)) describes.

Cause

In the argument loop of deduce.py, the --verbose branch looks at sys.argv[i+1] == 'full' but doesn't set already_processed_next = True, unlike --dir, --trace and -o.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions