Commit 2bf557c
committed
fix: tighten isQualifiedEnumLiteral to require 2+ dots
The previous check matched any string containing a dot, which could
falsely match attribute paths like "Object.Attribute". Enum literals
always have the form "Module.Enum.Value" (at least 2 dots).1 parent 53b7866 commit 2bf557c
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
860 | 860 | | |
861 | 861 | | |
862 | 862 | | |
863 | | - | |
| 863 | + | |
864 | 864 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
268 | 268 | | |
269 | 269 | | |
270 | 270 | | |
271 | | - | |
| 271 | + | |
272 | 272 | | |
273 | 273 | | |
274 | 274 | | |
| |||
0 commit comments