Repository navigation
Commit afec64d
Keep the open-row field read marker request-local
Requests type-checked concurrently on separate domains shared the
open_row_field_read ref, so one request could overwrite another's marker
between typing a callee and reading it, and report warning 20 on an open
JS object method call. The marker is now a Request_local key.
A compiler request test compiles open-object method calls in two concurrent
requests with warning 20 enabled and expects no warning; it failed on every
run with the shared ref.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Kr4cjoUi2f5VpMvE6wT9bo
Signed-off-by: Christoph Knittel <ck@cca.io>1 parent 32aa190 commit afec64d
2 files changed
Lines changed: 41 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2519 | 2519 | | |
2520 | 2520 | | |
2521 | 2521 | | |
2522 | | - | |
2523 | | - | |
| 2522 | + | |
| 2523 | + | |
| 2524 | + | |
| 2525 | + | |
2524 | 2526 | | |
2525 | 2527 | | |
2526 | 2528 | | |
| |||
2790 | 2792 | | |
2791 | 2793 | | |
2792 | 2794 | | |
2793 | | - | |
| 2795 | + | |
2794 | 2796 | | |
2795 | 2797 | | |
2796 | 2798 | | |
| |||
2799 | 2801 | | |
2800 | 2802 | | |
2801 | 2803 | | |
2802 | | - | |
| 2804 | + | |
2803 | 2805 | | |
2804 | 2806 | | |
2805 | 2807 | | |
| |||
3699 | 3701 | | |
3700 | 3702 | | |
3701 | 3703 | | |
3702 | | - | |
| 3704 | + | |
| 3705 | + | |
3703 | 3706 | | |
3704 | 3707 | | |
3705 | 3708 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1505 | 1505 | | |
1506 | 1506 | | |
1507 | 1507 | | |
| 1508 | + | |
| 1509 | + | |
| 1510 | + | |
| 1511 | + | |
| 1512 | + | |
| 1513 | + | |
| 1514 | + | |
| 1515 | + | |
| 1516 | + | |
| 1517 | + | |
| 1518 | + | |
| 1519 | + | |
| 1520 | + | |
| 1521 | + | |
| 1522 | + | |
| 1523 | + | |
| 1524 | + | |
| 1525 | + | |
| 1526 | + | |
| 1527 | + | |
| 1528 | + | |
| 1529 | + | |
| 1530 | + | |
| 1531 | + | |
| 1532 | + | |
| 1533 | + | |
| 1534 | + | |
| 1535 | + | |
| 1536 | + | |
| 1537 | + | |
| 1538 | + | |
| 1539 | + | |
1508 | 1540 | | |
1509 | 1541 | | |
1510 | 1542 | | |
| |||
1710 | 1742 | | |
1711 | 1743 | | |
1712 | 1744 | | |
| 1745 | + | |
1713 | 1746 | | |
1714 | 1747 | | |
1715 | 1748 | | |
0 commit comments