Repository navigation
Fix build by removing stale raw-data assertion - #711
Conversation
|
No actionable comments were generated in the recent review.
|
| Layer / File(s) | Summary |
|---|---|
Remove stale assertion QRCoder/QRCodeData.cs |
Removed the Debug.Assert(modules.Count < 8) statement from the constructor. |
Estimated code review effort: 1 (Trivial) | ~2 minutes
Change: Bug fix
Possibly related PRs
- Shane32/QRCoder#709: Replaced the constructor’s
modulesqueue with direct matrix decoding, leaving the assertion that this PR removes. - Shane32/QRCoder#708: Added the assertion that this PR removes.
Suggested reviewers: krisvandermotten
Merge Risk: 
Minimal · up to a7d2b
-
The change fixes the reported build error without changing raw-data behavior and appears ready to merge after normal checks.
Pre-merge checks: 
5
-
Full details: Docstring Coverage
-
Explanation
No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 0 files.
-
Finishing Touches
-
Generate docstrings
-
- Commit to this branch
- Create a new PR
Generate unit tests (beta)
-
- Commit to this branch
- Create a new PR
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Summary
Remove the obsolete
Debug.Assert(modules.Count < 8)from the raw-data constructor. The raw-data optimization removedmodules, leaving all builds blocked by CS0103. Existing length checks and raw-data round-trip tests cover the constructor.Test plan
CI=trueexplicitly set in the test host.dotnet format --verify-no-changes --severity error --no-restorepassed. It reported workspace-loading warnings for legacy netstandard1.3 and UWP projects; the build also reported NETSDK1215 for the existing netstandard1.3 target.git diff --checkpassed.Summary by CodeRabbit