We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Test case:
type Foo = distinct seq[int] Bar[N: static[int]] = distinct seq[int] proc newSeq(s: var Foo, n: Natural) {.borrow.} # works proc newSeq(s: var Bar, n: Natural) {.borrow.} # Error: no symbol to borrow from found # proc newSeq[N: static[int]](s: var Bar[N], n: Natural) {.borrow.} # Same error
The text was updated successfully, but these errors were encountered:
May work with PR #6232
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Test case:
The text was updated successfully, but these errors were encountered: