|
|
@ -39,8 +39,6 @@ export function is_last_evaluated_expression(path, node) {
|
|
|
|
while (i--) {
|
|
|
|
while (i--) {
|
|
|
|
const parent = /** @type {Expression | Property | SpreadElement} */ (path[i]);
|
|
|
|
const parent = /** @type {Expression | Property | SpreadElement} */ (path[i]);
|
|
|
|
|
|
|
|
|
|
|
|
console.log(parent.start, parent.type);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// @ts-expect-error we could probably use a neater/more robust mechanism
|
|
|
|
// @ts-expect-error we could probably use a neater/more robust mechanism
|
|
|
|
if (parent.metadata) {
|
|
|
|
if (parent.metadata) {
|
|
|
|
return true;
|
|
|
|
return true;
|
|
|
|