-
Notifications
You must be signed in to change notification settings - Fork 653
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
Assertion enhancements regarding value-of
in combination with backed enums
#10150
Commits on Aug 25, 2023
-
qa: add test to verify backed enums are no literals
Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 22bcd57 - Browse repository at this point
Copy the full SHA 22bcd57View commit details -
bugfix: prevent enums from being detected as literals
Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 31eaf83 - Browse repository at this point
Copy the full SHA 31eaf83View commit details -
feature: introducing proper handling of
value-of
in combination wit……h backed enums This introduces both: - a bugfix for a regression introduced by `31eaf83c4` which prevents backed enums are incorrectly identified as literals - an additional feature so that `value-of` can be used with backed enums to assert any of the enum cases values Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 5948559 - Browse repository at this point
Copy the full SHA 5948559View commit details -
Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 6c1899d - Browse repository at this point
Copy the full SHA 6c1899dView commit details -
bugfix: remove atomic type comparator regarding
TEnumCase
Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for cd3e294 - Browse repository at this point
Copy the full SHA cd3e294View commit details -
- remove unused variable - add assertion to reduce possible types from `TEnumCase` - use `TypeCombiner` to provide proper `Union` containing all literals Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for f93ac70 - Browse repository at this point
Copy the full SHA f93ac70View commit details -
qa: ensure that we do have at least one enum case extracted from the …
…`value-of<Enum>` usage Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for a8bb8d3 - Browse repository at this point
Copy the full SHA a8bb8d3View commit details -
qa: re-arrange code to avoid line-length limit of 120 chars
Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for a6b646f - Browse repository at this point
Copy the full SHA a6b646fView commit details -
qa: add proper parameter type-hint to suit psalm analysis
Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for e985e8a - Browse repository at this point
Copy the full SHA e985e8aView commit details -
Configuration menu - View commit details
-
Copy full SHA for ad0a132 - Browse repository at this point
Copy the full SHA ad0a132View commit details