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

### Example ```nim type Foo = enum A = 0u B = 0x8000_0000u converter toFoo(a: uint32): Foo = Foo(a) var f:Foo = 0u32 ``` https://play.nim-lang.org/#ix=44jn ### Current Output ``` /usercode/in.nim(7)...

### Nim Version Nim Compiler Version 2.3.1 [Linux: amd64] Compiled at 2025-02-28 Copyright (c) 2006-2025 by Andreas Rumpf git hash: 7e8a650729e9434574c46350aece7609e5465253 active boot switches: -d:release ### Description When accessing a...

Generics
Language Design

### Nim Version Nim Compiler Version 2.3.1 [Linux: amd64] Compiled at 2025-04-09 Copyright (c) 2006-2025 by Andreas Rumpf git hash: 29a2e25d1e47deaa7fbaaf5aaf78ab5be430c731 active boot switches: -d:release ### Description ```nim type Msg...

Documentation

Consider this code: ``` import httpclient var client = newHttpClient() echo client.getContent "http://rosettacode.org/wiki/Rosetta_Code" ``` On macOS 15 M2, compiled with Nim 2.2.0 (installed via Homebrew): ``` $ nim c -d:release...

Standard Library
OS/Architecture Specific

### Nim Version ``` Nim Compiler Version 2.0.14 [Linux: amd64] Compiled at 2025-04-04 Copyright (c) 2006-2023 by Andreas Rumpf git hash: bf4de6a394e040d9810cba8c69fb2829ff04dcc6 active boot switches: -d:release ``` ``` Nim Compiler...

Error Messages
Compiler Crash

Adds `system.setLenUninit` for the `string` type. Allows setting length without initializing new memory on growth. - Required for a follow-up to #15951 - Accompanies #22767 (ref #19727) but for strings...

### Nim Version Nim Compiler Version 2.3.1 [Linux: amd64] Compiled at 2025-04-02 Copyright (c) 2006-2025 by Andreas Rumpf git hash: f9c8775783c98094615a90760b2ae9a4aca03c70 active boot switches: -d:release ### Description The code is...

### Nim Version ```console $ nim -v Nim Compiler Version 2.2.2 [Linux: amd64] Compiled at 2025-02-06 Copyright (c) 2006-2025 by Andreas Rumpf git hash: 6c34f62785263ad412f662f3e4e4bf8d8751d113 active boot switches: -d:release ```...

### Nim Version Nim Compiler Version 2.0.2 [Linux: amd64] Compiled at 2023-12-15 Copyright (c) 2006-2023 by Andreas Rumpf git hash: c4c44d10df8a14204a75c34e499def200589cb7c active boot switches: -d:release ### Description ``` # rtltest.nim...

fixes #24688, refs #5632 This would make sense if generic body types as the type of expressions are purely symbolic and never valid for an actual generic expression, which should...

Waiting on Package