Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nim check crashes #23624

Open
jmgomez opened this issue May 18, 2024 · 0 comments
Open

nim check crashes #23624

jmgomez opened this issue May 18, 2024 · 0 comments
Assignees

Comments

@jmgomez
Copy link
Collaborator

jmgomez commented May 18, 2024

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 jmgomez self-assigned this May 18, 2024
jmgomez added a commit to jmgomez/Nim that referenced this issue May 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant