Skip to content

122s src/github.com/expr-lang/expr/expr_test.go:1380:4: cannot use 576460752303423484 (untyped int constant) as int value in struct literal (overflows) #1037

Backlog

Description

@jas4711

Hi! I help maintain this package for Debian, and it seems there is a hard-coded integer constant that overflows on any 32-bit archs. Could you either use some larger integer type or modify the value somehow? Thanks

Activity

  1. jas4711 commented on Nov 28, 2026

    @jas4711
    Author

    Two more 32-bit issues were found, here is the workaround I use to silence these errors, but proper fixes ought to be made by someone who udnerstands what the code is doing.

    https://salsa.debian.org/go-team/packages/golang-github-expr-lang-expr/-/blob/debian/unstable/debian/patches/fix-32bit-ftbfs.patch?ref_type=heads

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