| 1 | // Note that `a?.b.c` is semantically different from `(a?.b).c` |
| 2 | // We should codegen the correct member expressions |
| 3 | function Component(props) { |
| 4 | let x = props?.b.c; |
| 5 | let y = props?.b.c.d?.e.f.g?.h; |
| 6 | return {x, y}; |
| 7 | } |
| 8 | |
| 9 | export const FIXTURE_ENTRYPOINT = { |
| 10 | fn: Component, |
| 11 | params: ['TodoAdd'], |
| 12 | isComponent: 'TodoAdd', |
| 13 | }; |