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

fixes #20240 When resolving a symchoice based on type matches, `paramTypesMatch` only considers the symbols already in the symchoice. However for `nkOpenSymChoice`, newly introduced overloads must also be considered. To...

### Description The following code will trigger the issue. ``` nim iterator iterSome(): int = proc inner1() = let something = 6 proc inner2() = let othersomething = something inner2()...

Compiler Crash
Iterators

### Description UPDATED: The following code produces a SIGSEGV: ```nim try: proc myFunc() = iterator myFuncIter(): int {.closure.} = if false: try: yield 5 except: discard var nameIterVar = myFuncIter...

Severe
Iterators

closes [#75](https://github.com/nim-lang/threading/issues/75) ref https://github.com/nim-lang/threading/pull/79 Or only when `=sink` is disabled for `byRef`

I am trying the new recursive closure iterators. A simple example works just fine. But a larger one fails with **internal error: not part of closure object type** Unfortunately trying...

Compiler Crash
Iterators
works_but_needs_test_case

An iterator can't be declared in a template. ### Example ```nim type Foo = object template items*(f: Foo): int = let iter = iterator (g: Foo): int = for i...

Error Messages
Iterators

### Example ```nim type Dummie = object iterator `[]`(d: Dummie, a, b: int): int = discard let d = Dummie() for s in d[0, 1]: discard # error here ```...

works_but_needs_test_case

a declaration is ignored if at block-scope (block or inside proc) instead of module scope, depending on context. ### Example ```nim # main.nim import t10408c when defined(case_block): block: proc `$`(a:...

Medium Priority
Generics
Overload Resolution

A module for collecting compile-time information from pkg-config. I've been using pkg-config with `passC` for years on Linux and it's worked well. Using `$PKG_CONFIG` with a fallback to `pkg-config` is...