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

602 Implausible Expressions #603

Merged
merged 2 commits into from
Jul 25, 2023
Merged

Conversation

michaelhkay
Copy link
Contributor

Fix #602

@michaelhkay
Copy link
Contributor Author

I got the explanation of "disjoint item types" wrong; given two types R and S, the fact that neither is a subtype of the other does not prove they are disjoint. (Consider map(xs:integer, xs:string) and map(xs:decimal, xs:NCName). Indeed, map types of the form map(A,B) and map(X,Y) are never disjoint, because they all have the empty map as an instance. Perhaps I should add that case to the rules.... But pro tem, I think I'll move to an informal definition of "disjoint".

@ndw
Copy link
Contributor

ndw commented Jul 25, 2023

The CG agreed to merge this issue at meeting 043

@ndw ndw merged commit e991a9a into qt4cg:master Jul 25, 2023
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

Successfully merging this pull request may close these issues.

Semi-strict static typing: reporting implausible expressions
3 participants