SirOlaf
SirOlaf
When declaring a function that takes multiple vararg parameters, preferably of different types, they will share one address. This means the same vararg array is interpreted with multiple different types,...
### Description The code below results in an internal error, the static parameter messes with instantiation ```nim proc test2(value: static[int]): int = result = value proc test1(fn=test2): int = fn(1)...
Ref https://github.com/nim-lang/Nim/pull/23202#issuecomment-2000263308 Makes nimsuggest show generic instances for symbols instead of the plain non-instantiated version, fixes displayed (inferred) exceptions on hover and makes the exception inlay hints added by #23202...
The example for [running multiple windows](https://github.com/treeform/boxy/blob/master/examples/multiple_windows.nim) is broken on linux. I did not test other platforms so I am unable to provide further info for those. By default, only one...
Snippet that inspired this, ran into issues with async code and reduced to snippet. ```nim type Foo = object proc `=copy`(a: var Foo, b: Foo) {.error.} proc consumer(x: sink Foo)...
### Description Ref: https://github.com/nim-lang/Nim/pull/23610#issuecomment-2112346276 As mentioned iterators don't participate, didn't check whether or not it's a pure nimsuggest issue or if sempass2 also doesn't handle it, would assume it does...
Let it capture result when it is of ref type
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
All of the drug spam is included in the rss feeds, huge amount of noise
Ref: https://github.com/nim-lang/Nim/issues/23361 Fixes the first example in referenced issue. The second example requires that pages can be inherited as creating a string allocates which then causes a cell to be...