Skip to content

Build failure with Pakku #20820

@zqqw

Description

@zqqw

What happened?

There seem to be 2 new errors, both appear after the same commit yet are not present before:

pakku/src/utils.nim(448, 35) template/generic instantiation of `toHex` from here
/usr/lib/nim/pure/strutils.nim(954, 13) Warning: target type is larger than source type
  target type: 'BiggestUInt' (8 bytes)
  source type: 'uint8' (1 byte) [CastSizes]


pakku/src/format.nim(79, 8) Error: type mismatch: got <openArray[string], proc (s: string): int{.inline, noSideEf
fect, gcsafe.} | proc (s: openArray[char]): int{.noSideEffect, gcsafe.}>
but expected one of:
proc map[T, S](s: openArray[T]; op: proc (x: T): S {.closure.}): seq[S]
  first type mismatch at position: 2
  required type for op: proc (x: T): S{.closure.}
  but expression 'runeLen' is of type: None
2 other mismatching symbols have been suppressed; compile with --showAllMismatches:on to see them

Nim Version

Nim devel, problem apparently created by:
commit 0b1989d
Date: Thu Oct 27 06:16:41 2022 -0600

Current Standard Output Logs

No response

Expected Standard Output Logs

No response

Possible Solution

No response

Additional Information

No response

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