Skip to content

closes #19637; adds test cases - #26896

Open
jasagiri wants to merge 1 commit into
nim-lang:develfrom
jasagiri:triage-batch-6
Open

jasagiri wants to merge 1 commit into
nim-lang:develfrom
jasagiri:triage-batch-6

Conversation

@jasagiri

@jasagiri jasagiri commented Dec 6, 2026

Copy link
Copy Markdown
Contributor

Adds regression tests for 1 issue that devel already fixes; each test is the issue's own code (with the expected output or error the issue gives), added to an existing test file where one can take it.

closes #19637

issue test checks requirements judged
#19637 tests/generics/t19637.nim compiles and runs 6/6

New test file(s), because the existing files cannot take the test:

Verified locally on devel bd86013 before opening (the test was re-run on macOS arm64 at devel 7a85526 after rebasing):

  • Linux arm64 (Ubuntu 24.04, glibc), C, 3 runs
  • Linux arm64, C++ (testament --targets:cpp)
  • Linux amd64 (Ubuntu 24.04, x86_64 emulated by qemu-user in the podman VM), C
  • Linux i386 (amd64 container, gcc-multilib, --cpu:i386 -m32), C
  • Alpine 3.23 arm64 (musl, define:musl), C
  • macOS arm64 (host, sandbox-exec), C
  • macOS arm64 (host, sandbox-exec), C++
  • testament cat generics, testament cat megatest on Linux arm64 and macOS arm64, with the new files in place
  • Windows amd64, cross-compiled with mingw-w64 on Linux; run under wine64 with the output compared: cannot infer type correctly when generic params are more than one #19637

Not verified locally: native Windows (only the mingw-w64 cross build and wine above), the 32-bit compiler itself (i386 was checked with --cpu:i386 -m32 from a 64-bit Nim), and the rest of CI.

🤖 Generated with Claude Code

closes nim-lang#19637

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch has not been deployed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

cannot infer type correctly when generic params are more than one

1 participant