1// Regression test: chained index a.b.c.d should produce a single2// Index { a, [b, c, d] } not nested Index nodes.3// This matters for exp-null-coaelse where a?.b.c should skip .c if .b is null.45local obj = { a: { b: { c: 42 } } };67[8 obj.a.b.c,9 {a: {b: 1}}.a.b,10]