Commit e490565
committed
fix(expo-router): attach Icon + Label via post-assign — hbc bug
The previous attempt (acee218) added Icon + Label as plain
entries inside the module.exports object literal. That worked
locally but crashed the vendor.bundle.hbc on CI x86_64 — same
silent blank-screen pattern as the URL polyfill v1 and the
LogBoxOverlay regressions, tracked in task #69. The `blank`
example flipped from PASS to BOOT_FAIL, which is downstream
proof the shim crashed the host before any user code ran.
Forward-only fix: keep the same Icon + Label slot exports, but
attach them through post-assign (`module.exports.Icon = Slot;
module.exports.Label = Slot;`) AFTER the literal is built.
Different bytecode shape, dodges the bug.1 parent acee218 commit e490565
1 file changed
Lines changed: 15 additions & 10 deletions
Lines changed: 15 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
701 | 701 | | |
702 | 702 | | |
703 | 703 | | |
704 | | - | |
705 | | - | |
706 | | - | |
707 | | - | |
708 | | - | |
709 | | - | |
710 | | - | |
711 | | - | |
712 | | - | |
713 | | - | |
714 | 704 | | |
715 | 705 | | |
716 | 706 | | |
| |||
738 | 728 | | |
739 | 729 | | |
740 | 730 | | |
| 731 | + | |
| 732 | + | |
| 733 | + | |
| 734 | + | |
| 735 | + | |
| 736 | + | |
| 737 | + | |
| 738 | + | |
| 739 | + | |
| 740 | + | |
| 741 | + | |
| 742 | + | |
| 743 | + | |
| 744 | + | |
| 745 | + | |
0 commit comments