Nim
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...
### Description Test failures on openSUSE Tumbleweed aarch64: ``` [ 1419s] [31mFAIL: [36mtests/compiler/tasm.nim c [34m ( 1.13 sec)[0m [ 1419s] [1m[36mTest "tests/compiler/tasm.nim" in category "compiler"[0m [ 1419s] [1m[31mFailure: reNimcCrash[0m [...
### 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...
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....
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...
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"...
### 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...
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...
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...
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]() ``` ###...