Nim
Nim copied to clipboard
nim check crashes
Description
On Windows, anything that calls allocShared0 fails subsequent checks with nim check
proc myFunc(a: string) =
var x: int = ""
import std/os
static:
echo getCurrentDir()
proc myFunc2(a: string) =
var x: int = "" #this check not marked as error
Nim Version
Nim Compiler Version 2.1.1 [Windows: amd64] Compiled at 2024-03-06 Copyright (c) 2006-2024 by Andreas Rumpf
Current Output
No response
Expected Output
No response
Possible Solution
No response
Additional Information
No response