Commit 060016b
fix: enforce purity checking in data expressions
@pure/@ToTal markers were parsed and stored but never validated.
Impure functions could be called from data expressions, violating
the Harvard Architecture security model. Now returns PurityViolation
error when impure functions are called from data context.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 58b45f6 commit 060016b
1 file changed
Lines changed: 19 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
437 | 437 | | |
438 | 438 | | |
439 | 439 | | |
440 | | - | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
441 | 458 | | |
442 | 459 | | |
443 | 460 | | |
| |||
457 | 474 | | |
458 | 475 | | |
459 | 476 | | |
460 | | - | |
| 477 | + | |
461 | 478 | | |
462 | 479 | | |
463 | 480 | | |
| |||
0 commit comments