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

{.acyclic.} pragma does not inherit #21362

Open
zevv opened this issue Feb 13, 2023 · 0 comments
Open

{.acyclic.} pragma does not inherit #21362

zevv opened this issue Feb 13, 2023 · 0 comments

Comments

@zevv
Copy link
Contributor

zevv commented Feb 13, 2023

Description

In the below snippet, I would expect Bar to be {.acyclic.}, but it is not.
.

type
  Foo {.acyclic.} = ref object of RootObj
  Bar = ref object of Foo

Nim Version

Nim Compiler Version 1.9.1 [Linux: amd64]
Compiled at 2023-02-06
Copyright (c) 2006-2023 by Andreas Rumpf

git hash: 8e53fba083a7450b8c2e9771cba8d477468a520e
active boot switches: -d:release -d:danger

Current Output

No response

Expected Output

No response

Possible Solution

No response

Additional Information

No response

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