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
type Curve1[T, X] = object of RootObj a: T b: X Curve2[T] = Curve1[T, int] Curve3[T] = object of Curve2[T]
the above code trigger unexpected error: curve.nim(8, 22) Error: inheritance only works with non-final objects
curve.nim(8, 22) Error: inheritance only works with non-final objects
is this a bug or not? why inheritance not work with Curve2
The text was updated successfully, but these errors were encountered:
fixes nim-lang#5231 inheriting from partial specialized generic object
69aa2fe
ebb1550
No branches or pull requests
the above code trigger unexpected error:
curve.nim(8, 22) Error: inheritance only works with non-final objects
is this a bug or not? why inheritance not work with Curve2
The text was updated successfully, but these errors were encountered: