nim-lang / Nim

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, and elegance (in that order of priority).

Home Page:https://nim-lang.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`<expr> is` crashes nimsuggest

SirOlaf opened this issue · comments

Description

is without rhs segfaults nimsuggest.
Encountered while trying to autocomplete x.is for functions like x.isDigit

true is # crash
"" is # crash

let x = 1
x.is # crashes with dot as well

Nim Version

Nim Compiler Version 2.1.1 [Linux: amd64]
Compiled at 2024-04-18
Copyright (c) 2006-2024 by Andreas Rumpf

git hash: d6823f4
active boot switches: -d:release

Current Output

Segfault

Expected Output

No segfault

Possible Solution

No response

Additional Information

No response