Skip to content

lint: coverage (L001) at warn, 2 findings bolt 1.27 reports #91

Closed

Description

@ngngardner

[tools.bolt] moved from v1.22.0 to v1.27.0 (#89). Since bolt 1.26 coverage is off unless bolt.bend names it, so it is named again, at warn, because bolt 1.27's coverage reports these, which bolt 1.22 passed:

  • ./src/lex.bend:295:1: warning: L001: No quantified law reaches def run.
  • ./src/print.bend:152:1: warning: L001: No quantified law reaches def maybe.

Put def coverage() in bolt.bend back to "error" once each has a quantified law, or a # noqa: L001 with its reason.

🤖 Generated with Claude Code

Activity

  1. ngngardner commented on Nov 16, 2026

    @ngngardner
    ContributorAuthor

    Fixed in #92: Lex.run now has a law (LexersAgree, the fast lexer gives the same tokens), Print.maybe had no callers and is gone, and coverage/laws are back at error. Lints clean on bolt 1.66.0 (#95).

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions