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

Ordinal behaving weird #10945

Open
dawkot opened this issue Apr 2, 2019 · 1 comment
Open

Ordinal behaving weird #10945

dawkot opened this issue Apr 2, 2019 · 1 comment

Comments

@dawkot
Copy link

dawkot commented Apr 2, 2019

proc foo[T: Ordinal](x: T): int = int x # ok
proc foo(x: Ordinal): int = int x # (2, 9) Error: invalid type: 'None' in this context: 'proc (x: Ordinal): int' for
@bung87
Copy link
Collaborator

bung87 commented Oct 30, 2022

this seems to be duplicated procs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants