We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
!x.P.EnumMember
x.P != Enum.EnumMember
Currently x.P.EnumMember generates x.P == Enum.EnumMember. Which is awesome btw.
x.P.EnumMember
x.P == Enum.EnumMember
However !x.P.EnumMember generates !(x.P == Enum.EnumMember). I think x.P != Enum.EnumMember would be better for that case.
!(x.P == Enum.EnumMember)
The text was updated successfully, but these errors were encountered:
Shouldn't it be x.P.EnumMember.not?
x.P.EnumMember.not
Sorry, something went wrong.
It could be, but for not I don't actually use postfix as that's (how I think).not
not
So I suggest both should work in the same way.
.not works and produces correct result:)
.not
No branches or pull requests
Currently
x.P.EnumMember
generatesx.P == Enum.EnumMember
.Which is awesome btw.
However
!x.P.EnumMember
generates!(x.P == Enum.EnumMember)
.I think
x.P != Enum.EnumMember
would be better for that case.The text was updated successfully, but these errors were encountered: