Commit 06fd945
fix: address architectural review findings from verification
- SymbolSerializer: use int.TryParse for FunctionType metadata fields
to gracefully handle corrupted cache files instead of crashing
- TypeChecker: replace silent Unknown return with throw in
CheckBytesLiteral (bytes type must be in BuiltinRegistry)
- OperatorValidator: add TODO(#559) for missing bytes comparison ops
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent a819e63 commit 06fd945
File tree
3 files changed
+21
-6
lines changed- src/Sharpy.Compiler
- Project
- Semantic
- Validation
3 files changed
+21
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
873 | 873 | | |
874 | 874 | | |
875 | 875 | | |
876 | | - | |
877 | | - | |
878 | | - | |
| 876 | + | |
| 877 | + | |
| 878 | + | |
| 879 | + | |
| 880 | + | |
| 881 | + | |
| 882 | + | |
| 883 | + | |
| 884 | + | |
| 885 | + | |
| 886 | + | |
| 887 | + | |
| 888 | + | |
| 889 | + | |
| 890 | + | |
| 891 | + | |
| 892 | + | |
| 893 | + | |
879 | 894 | | |
880 | 895 | | |
881 | 896 | | |
| |||
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
391 | 391 | | |
392 | 392 | | |
393 | 393 | | |
394 | | - | |
395 | | - | |
396 | | - | |
| 394 | + | |
| 395 | + | |
397 | 396 | | |
398 | 397 | | |
399 | 398 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
241 | 241 | | |
242 | 242 | | |
243 | 243 | | |
| 244 | + | |
244 | 245 | | |
245 | 246 | | |
246 | 247 | | |
| |||
0 commit comments