Skip to content

602 Implausible Expressions - #603

Merged
ndw merged 2 commits into
qt4cg:masterfrom
michaelhkay:Issue602-Plausibility
Jul 25, 2023
Merged

ndw merged 2 commits into
qt4cg:masterfrom
michaelhkay:Issue602-Plausibility

Conversation

@michaelhkay

Copy link
Copy Markdown
Contributor

Fix #602

@michaelhkay

Copy link
Copy Markdown
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

ndw commented Jul 25, 2023

Copy link
Copy Markdown
Contributor

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