Commit 2fef646
fix: address verification findings from audit remediation
- CLAUDE.md: Update TypeChecker partial file count from 10 to 11, add
.Statements.Patterns.cs to the list
- FileCompilationPipeline: Make CodeGenResult.HasErrors derive from
Diagnostics.HasErrors consistently with all other result structs
- ImportResolver: Remove inconsistent `\!= default` guard on
cancellationToken in ResolveImport/ResolveFromImport, assign
unconditionally like ResolveAllImports does
- TypeChecker.Statements.Patterns.cs: Fix doc comment (remove "tuple
unpacking" which isn't in this file)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 462618f commit 2fef646
File tree
4 files changed
+8
-12
lines changed- src/Sharpy.Compiler
- Semantic
4 files changed
+8
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
| 70 | + | |
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
300 | 300 | | |
301 | 301 | | |
302 | 302 | | |
303 | | - | |
| 303 | + | |
304 | 304 | | |
305 | 305 | | |
306 | 306 | | |
| |||
324 | 324 | | |
325 | 325 | | |
326 | 326 | | |
327 | | - | |
| 327 | + | |
328 | 328 | | |
329 | 329 | | |
330 | 330 | | |
| |||
450 | 450 | | |
451 | 451 | | |
452 | 452 | | |
453 | | - | |
454 | | - | |
| 453 | + | |
455 | 454 | | |
456 | 455 | | |
457 | 456 | | |
458 | 457 | | |
459 | | - | |
460 | 458 | | |
461 | 459 | | |
462 | 460 | | |
463 | 461 | | |
464 | 462 | | |
465 | | - | |
| 463 | + | |
466 | 464 | | |
467 | 465 | | |
468 | 466 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
250 | 250 | | |
251 | 251 | | |
252 | 252 | | |
253 | | - | |
254 | | - | |
| 253 | + | |
255 | 254 | | |
256 | 255 | | |
257 | 256 | | |
| |||
320 | 319 | | |
321 | 320 | | |
322 | 321 | | |
323 | | - | |
324 | | - | |
| 322 | + | |
325 | 323 | | |
326 | 324 | | |
327 | 325 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
0 commit comments