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 While #23951 fixes casting negative enum values for ordinal types, it is still broken for "holey" enums: ```nim type Foo = enum A B = -1 proc foo...

### Description ```nim type A = object field: int proc works(a: A): lent int = a.field proc x(a: A): lent int = case true of true: a.field of false: a.field...

Lent Type

https://nim-lang.org/docs/random.html#initRand%2Cint64 https://nim-lang.org/docs/random.html#initRand%2Cint64_2 the second one can be deleted , it's identical to the first . this was already reported last year in https://github.com/nim-lang/Nim/issues/23051 and closed as completed , but the...

Needs Backporting/Fixed in Devel

on https://nim-lang.org/docs/sha1.html the 2 links are dead : `sha2 module` -> https://nim-lang.org/docs/sha2.html `sha3 module` -> https://nim-lang.org/docs/sha3.html this was already reported last year in https://github.com/nim-lang/Nim/issues/23076 and closed as completed , but...

Needs Backporting/Fixed in Devel

### Description This code produces SIGSEGV at runtime: ```nim type Date = object of RootObj # no bug if not `of RootObj` Common = object of RootObj name: string date:...

Type Sections
ARC/ORC Memory Management

fix #15097 Inspired by PR #16015

stale

Compiler complains for add that has sideeffects (mutates parameters that are not declared var).

stale
Requires Araq To Merge

fix #22119 fix #21093 No idea why the addresses for base fields are different Actual segfault happens at https://github.com/nim-lang/Nim/blob/7d9fe106ecd70bf99b9f3224430debfe10060ce1/compiler/sempass2.nim#L1090 when it tries to access typ.kind where typ is nil

stale

### Description ```Nim type Uid* = cuint Gid* = cuint proc usrToUid*(usr: string): Uid = 999.Uid proc usrToUid*(usrs: seq[string]): seq[Uid] = for usr in usrs: result.add usrToUid(usr) proc grpToGid*(grp: string):...

ARC/ORC Memory Management