Repository navigation
Commit 1746e51
committed
Price enum case values through InitializerExprTypeResolver in EnumSanityRule
The rule fires on InClassNode before the enum body is walked; case values
are initializer expressions, so the initializer resolver (already used by
the not-backed-enum message) is the right source - not Scope::getType()
on the yet-unprocessed node.1 parent 24cde24 commit 1746e51
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
190 | 190 | | |
191 | 191 | | |
192 | 192 | | |
193 | | - | |
| 193 | + | |
194 | 194 | | |
195 | 195 | | |
196 | 196 | | |
| |||
0 commit comments