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 inference cannot assign the same string to two sorts #21

Open
wisnesky opened this issue Apr 15, 2019 · 0 comments
Open

Type inference cannot assign the same string to two sorts #21

wisnesky opened this issue Apr 15, 2019 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@wisnesky
Copy link
Contributor

So e.name = e is not allowed even if e:Employee and name:Employee->String and e:String can be expressed. To work around, write e.name = e@String.

@wisnesky wisnesky added the enhancement New feature or request label Apr 15, 2019
@wisnesky wisnesky self-assigned this Apr 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

1 participant