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
trafficstars

### Description Running nimsuggest on `arraymancer.nim` crashes (at least on Windows). To reproduce it: ``` C:\repositories\nim_tests> git clone https://github.com/mratsim/Arraymancer C:\repositories\nim_tests> cd Arraymancer\src C:\repositories\nim_tests\Arraymancer\src>nimsuggest --v4 arraymancer.nim usage: sug|con|def|use|dus|chk|mod|highlight|outline|known|project file.nim[;dirtyfile.nim]:line:col type 'quit'...

Nimsuggest

### Description ```nim import std/[dom] proc onkeydownEventHandler(e: Event) = echo "hey" window.addEventListener "keydown", onkeydownEventHandler window.removeEventListener "keydown", onkeydownEventHandler ``` ```html ``` ### Nim Version Nim Compiler Version 2.1.9 [Windows: amd64] Compiled...

Javascript

### Description ```nim func number(lit: string): string = for b in lit: result.add: if b in '0'..'9': b elif b == '_': continue else: raise newException(ValueError, "not a valid digit")...

Javascript

### Description When calling a proc which expects a closure, it is not possible to nest a secondary closure within it, as illustrated in case 2 below. When doing so,...

### Description - doc comments added to proc invocations dont appear in the generated html docs ### Nim Version ```sh 06:21 AM (develop *+ u=) $ nim -v Nim Compiler...

- Added optional invocation of suggestSym to semtypes.semIdentVis - A small amount of refactoring to avoid code duplication

stale

**Code** ```nim ==> Foo.nim BarA.nim BarB.nim Main.nim

### Description Simple version: ```nim type A = A | B B = A | B discard 0 is A ``` But it scales to where it's nontrivial to spot...

Error Messages
Compiler Crash
Recursive Types

### Description I'm using the playground to try to test out the creation of a simple entity-component relational model in Nim, using generics. The following code example shows the situation...

Generics
Inheritance

closes https://github.com/nim-lang/RFCs/issues/380, fixes #4773, fixes #14729, fixes #16755, fixes #18150, fixes #22984, refs #11167 (only some comments fixed), refs #12620 (needs tiny workaround) The compiler stores a scope for each...