-
Notifications
You must be signed in to change notification settings - Fork 25
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
Incorrect type role for n
in Vector n a
#126
Comments
I'm amazed this leaked through! Thanks, will fix. |
Actually, are you sure this works? To coerce through the |
It's not coercing the internal representation of vector, merely
while |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently,
Vector
has the inferred roletype role Vector representational phantom nominal
, which allows the following:There is no error because
n
is phantom, so the coercion always works.Instead,
Vector
should havetype role Vector representational nominal nominal
to disallow this coercion.The text was updated successfully, but these errors were encountered: