Crashes on a certain code
Closed this issue · 1 comments
RazrFalcon commented
I'm getting:
SIGSEGV: Illegal storage access. (Attempt to read from nil?)
When editing the following code in VSCode:
parse("Color")
_ = try s.read("Opacity") as
# _ = try s.read("Enabled") as
Uncomment the last line and the SIGSEGV appears.
PS: Yes, I'm porting some Swift code.
> nimsuggest -v
Nim Compiler Version 2.0.6 [MacOSX: arm64]
Compiled at 2024-06-17
Copyright (c) 2006-2023 by Andreas Rumpf
active boot switches: -d:release -d:danger --gc:markAndSweep
This is a continuation of nim-lang/vscode-nim#70
jmgomez commented
This doesnt crash for me in the latest nimlangserver from head. Reopen if it still the case for you