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

Wrong signature proc call from proc args #120

Open
gavr123456789 opened this issue Apr 11, 2021 · 2 comments
Open

Wrong signature proc call from proc args #120

gavr123456789 opened this issue Apr 11, 2021 · 2 comments

Comments

@gavr123456789
Copy link

proc foo(x: int, y: int, z: int): int =
  echo x, y, z
  5


proc bar(m: int, n: int, o: int) =
  echo x, y, z

var x = 89
foo(bar()))

image
Expected: proc (m: int, n: int, o: int)
Real: proc (x: int, y: int, z: int): int

@Araq
Copy link
Member

Araq commented Apr 12, 2021

This looks like a timing issue? Is it always reproducible?

@gavr123456789
Copy link
Author

gavr123456789 commented Apr 12, 2021

Peek 2021-04-12 12-14

@Araq Yes

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

No branches or pull requests

2 participants