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
lent T
{.experimental: "views".} type O[T] = object O[lent int]()
test.nim(4, 8) Error: type mismatch: got 'typedesc[int]' for 'int' but expected 'lent'
No error
type Lint = lent int
Option[Lint]
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Example
Actual Output
Expected Output
No error
Additional Information
type Lint = lent int
andOption[Lint]
is done, nothing bad will happen.The text was updated successfully, but these errors were encountered: