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

type error message suggestion #38

Open
raould opened this issue Feb 6, 2015 · 0 comments
Open

type error message suggestion #38

raould opened this issue Feb 6, 2015 · 0 comments

Comments

@raould
Copy link

raould commented Feb 6, 2015

they are a bit hard to parse for humans. suggesting a rework from:

tlc -s -o gen/main.lua main.tl
player.tl:29:14: type error, attempt to pass '(number, number, 0, number, 0, 0, 1, 1, any, any, any)' to field 'new' of input type '(n
umber, number, number, number, number, number, number, any, any)'
make: *** [gen/main.lua] Error 1

to something like:

tlc -s -o gen/main.lua main.tl
player.tl:29:14: type error, attempt to pass (airity 11):
'(number, number, 0, number, 0, 0, 1, 1, any, any, any)'
to field 'new' of input type (airity 9):
'(number, number, number, number, number, number, number, any, any)'
make: *** [gen/main.lua] Error 1

so that i can more easily compare the signatures.

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

2 participants