Nim icon indicating copy to clipboard operation
Nim copied to clipboard

Nim is a statically typed compiled systems programming language. It combines successful concepts from mature languages like Python, Ada and Modula. Its design focuses on efficiency, expressiveness, an...

Results 713 Nim issues
Sort by recently updated
recently updated
newest added

### Description Test failures on openSUSE Tumbleweed aarch64: ``` [ 1419s] FAIL: tests/compiler/tasm.nim c  ( 1.13 sec) [ 1419s] Test "tests/compiler/tasm.nim" in category "compiler" [ 1419s] Failure: reNimcCrash [...

OS/Architecture Specific
Inheritance
Closures

### Description cannot change choosenim directory. It would be nice if we could set the choosenim directory in a config file too, like nimbleDir. ### Nim Version 2.2.0 devel@96d6eee9bc33c22defb980fc0953c8e55f363ab2 ###...

This is a general issue for packages that should be in package CI until the situation has sufficiently improved, suggestions would be appreciated. The release of 2.2 was delayed quite...

RFC
Test Suite

Testament has a `timeout` property in test specs, but it's only checked [after the process is done](https://github.com/nim-lang/Nim/blob/2f904535d06472481c172b140c363d3cd717e02e/testament/testament.nim#L286). It doesn't terminate the test process early if it passes the timeout duration....

Feature
Tools
Test Suite

Here is a Christmas tree bug that touches upon generic instantiation, procvar, overloading and semcheck. ## Scenario 1 - benign impact besides extra NimVM processing Let's start with a simple...

Semantic Analysis
Lambda Lifting
Generics
Language Design
Symbol Resolution

The following example works, but it should really be an error for an ambiguous identifier. ### Example ```nim template foo(arg: typedesc) = echo "A" template foo[T](arg: typedesc[T]) = echo "B"...

Language Design
typedesc[T]
Invalid Code Acceptance
Overload Resolution

### Example ```nim when true: import macros macro bar(n: typed): untyped = var n = n.copyNimTree # without this, you get: Error: typechecked nodes may not be modified let tmp...

Macros
works_but_needs_test_case

Hi all, i'm new to Nim. Really like the language ! I'm experimenting a bit with it to understand what is / is not possible with it. I was trying...

Type Sections
Error Messages
Compiler Crash

Its a pretty specific error, but i have simplified my code to 4 examples that showcase when the compiler crashes and when it doesnt. ### Example ```nim # Example 1...

Static[T]

Generic type with illegal recursion causes segmentation fault in compiler instead of `illegal recursion` error. ### Example ```nim type Test[T] = object f2: Test[T] let t = Test[int]() ``` ###...

Generics
Compiler Crash
Recursive/Forward Types