• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

go-pkgz / enum
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: refs/tags/v0.7.2
DEFAULT BRANCH: master
Repo Added 16 Feb 2025 09:48AM UTC
Files 3
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH fix/const-expr-eval
branch: fix/const-expr-eval
CHANGE BRANCH
x
Reset
  • fix/const-expr-eval
  • add-go1.23-iterator
  • chore/modernize-any
  • ci/lint-version
  • ci/workflow-hardening
  • deps/update-latest
  • feat/bson-sql-yaml-support
  • feature/alias-support
  • fix-missing-import-wo-lower-flag
  • fix/minmax-untyped-float
  • get-enum-value-by-the-int-value
  • major-refactor-and-enhancements
  • master
  • preserve-original-value-type
  • refs/tags/v0.1.0
  • refs/tags/v0.1.1
  • refs/tags/v0.1.2
  • refs/tags/v0.1.3
  • refs/tags/v0.2.0
  • refs/tags/v0.3.0
  • refs/tags/v0.3.1
  • refs/tags/v0.4.0
  • refs/tags/v0.5.0
  • refs/tags/v0.6.0
  • refs/tags/v0.7.0
  • refs/tags/v0.7.1
  • refs/tags/v0.7.2
  • split-template-from-code
  • sql
  • support-for-complex-type-names

19 Aug 2026 01:56AM UTC coverage: 100.0%. First build
32206718722

push

github

paskal
Give min and max the kind of their untyped arguments, cover the evaluator

max(5, 4.0) has an untyped float type even though the integer wins, so
max(5, 4.0) / 2 * 10 is 25 and not 20. A right shift count is bounded by a
constant instead of the width of the value, which reaches the same result
without measuring it.

Tests cover every branch of the evaluator, including the error paths of each
operand position, and the package is back to full statement coverage.

13 of 13 new or added lines in 1 file covered. (100.0%)

785 of 785 relevant lines covered (100.0%)

395.66 hits per line

Relevant lines Covered
Build:
Build:
785 RELEVANT LINES 785 COVERED LINES
395.66 HITS PER LINE
Source Files on fix/const-expr-eval
  • Tree
  • List 3
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
32206718722 fix/const-expr-eval Give min and max the kind of their untyped arguments, cover the evaluator max(5, 4.0) has an untyped float type even though the integer wins, so max(5, 4.0) / 2 * 10 is 25 and not 20. A right shift count is bounded by a constant instead of the wi... push 19 Aug 2026 01:56AM UTC paskal github
100.0
32206120952 fix/const-expr-eval Apply the declared type of an enum constant to its value The type a constant is declared with shapes its value: a float one holds it at the width of that type, so a constant declared float32 rounds the way the compiler rounds it. min and max retu... Pull #24 19 Aug 2026 01:47AM UTC paskal github
92.1
See All Builds (96)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc