Nim icon indicating copy to clipboard operation
Nim copied to clipboard

nim check crashes

Open jmgomez opened this issue 1 year ago • 0 comments

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

jmgomez avatar May 18 '24 12:05 jmgomez