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

Misleading 'unknown type' error when tabs are used. #1055

Open
utting opened this issue Mar 12, 2021 · 0 comments
Open

Misleading 'unknown type' error when tabs are used. #1055

utting opened this issue Mar 12, 2021 · 0 comments

Comments

@utting
Copy link
Contributor

utting commented Mar 12, 2021

When tabs are used at the beginning of a line in a Whiley file, the error message says 'unknown type encountered' on the following keyword or type. This is misleading - it would be helpful if it gave an error that said tabs are not allowed.
For example, the attached test2.whiley file gives the error:
$ wy build
.\src\test2.whiley:4: unknown type encountered
return x
^^^^^^

test2.whiley.txt

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