SIGSEGV with strictNotNil and assignment
izackp opened this issue · 0 comments
izackp commented
{.experimental: "strictNotNil".}
proc newWindow() =
renderer = sdl.createRenderer()
echo "Hello World"
nimsuggest --v2 --log test.nim
results in: SIGSEGV: Illegal storage access. (Attempt to read from nil?)
Version Info:
Nim Compiler Version 1.6.2 [MacOSX: arm64]
Compiled at 2021-12-17
Copyright (c) 2006-2021 by Andreas Rumpf
active boot switches: -d:release -d:danger --gc:markAndSweep