GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||
GeezerVison is showing github.com — Recognize static integral ValidateRange bounds by Copilot · Pull Request #2278 · PowerShell/PSScriptAnalyzer Conversation
|
There was an error while loading. Please reload this page.
| File | Description |
|---|---|
| Tests/Rules/AvoidValidateRangeTypeMismatch.tests.ps1 | Adds constant-bound and unrelated-attribute regression cases. |
| Rules/AvoidValidateRangeTypeMismatch.cs | Adds constant-field detection and exact attribute-type matching. |
Review effort: Balanced
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Co-authored-by: bergmeister <[email protected]>
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
The negative test never loads Contoso.ValidateRangeAttribute, leaving rejection of a successfully resolved custom attribute untested.
Review effort: Balanced
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Co-authored-by: bergmeister <[email protected]>
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
The member-expression tests lack negative coverage for throwing static getters, static readonly integral fields, and floating-point constants, leaving getter non-execution and literal-integral-only behavior unguarded against regressions.
Review effort: Balanced
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Co-authored-by: bergmeister <[email protected]>
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
No active review issues are reported for the added static integral constant support and stricter attribute matching.
Review effort: Balanced
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Copilot fix the 2 open issues |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
... Both open items are already addressed on this branch: the resolved |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
No active review issues were identified for the changes supporting static integral bounds and excluding unrelated custom attributes.
No open issues 🎉
Review effort: Balanced
Sorry, something went wrong.
There was an error while loading. Please reload this page.
919cef7
into
copilot/validate-range-boundary-check
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.