1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-22 05:41:20 +01:00
Bruce Weirdan b4f024b1fe
Basic enum checks
* Duplicate cases
* Duplicate case values
* Invalid case values: value on a pure enum case, missing value on a
backed enum case, backing type / case type mismatch
* Literal expression evaluation for case values

Fixes vimeo/psalm#6426
Fixes vimeo/psalm#6427
2021-09-07 12:35:38 +03:00
..
2020-03-21 09:48:35 -04:00
2020-03-21 09:48:35 -04:00
2021-07-02 11:59:26 +02:00
2020-03-21 09:48:35 -04:00
2020-03-21 09:48:35 -04:00
2020-03-21 09:48:35 -04:00
2020-03-21 09:48:35 -04:00
2020-03-21 09:48:35 -04:00
2020-03-21 09:48:35 -04:00
2020-03-21 09:48:35 -04:00
2020-03-21 09:48:35 -04:00
2020-03-21 10:13:11 -04:00
2021-09-07 12:35:38 +03:00
2021-09-07 12:35:38 +03:00
2020-03-21 10:13:11 -04:00
2020-03-23 23:54:48 -04:00
2020-03-21 10:19:30 -04:00
2020-08-23 13:03:25 -04:00
2020-08-23 13:03:25 -04:00
2021-09-07 12:35:38 +03:00
2021-09-07 12:35:38 +03:00
2020-09-10 22:58:26 -04:00
2020-10-02 21:01:55 -04:00
2020-10-27 22:29:49 -04:00
2020-05-18 17:20:57 -04:00
2020-11-08 14:41:08 -05:00
2020-11-28 09:03:03 -05:00
2020-03-20 19:13:56 -04:00
2020-03-20 19:13:56 -04:00
2020-03-21 09:48:35 -04:00
2021-06-10 12:57:13 -04:00
2021-08-05 16:39:14 -04:00
2020-11-18 00:52:48 -05:00
2020-10-24 00:14:27 -04:00
2020-07-16 16:19:29 -04:00
2020-09-10 19:05:47 -04:00