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

[docgen] Generic type pragmas in wrong place #10792

Closed
awr1 opened this issue Mar 5, 2019 · 1 comment

Comments

Projects
None yet
4 participants
@awr1
Copy link
Contributor

commented Mar 5, 2019

As per #9993, pragmas in a generic type declaration are meant to go after the generic parameter list.

type
  # RIGHT!
  Foo*[T] {.bycopy.} = object
    x: int

  # WRONG!
  Bar* {.bycopy.} [T] = object
    x: int

nim doc, however, renders this the wrong way:

image

@Araq Araq added the Easy label Mar 6, 2019

@krux02

This comment has been minimized.

Copy link
Contributor

commented Mar 7, 2019

@narimiran isn't this something for you?

narimiran added a commit that referenced this issue Mar 19, 2019

@Araq Araq closed this in bfc7522 Mar 19, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.