OpenFn / kit

The bits & pieces that make OpenFn work. (diagrammer, cli, compiler, runtime, runtime manager, logger, etc.)
10 stars 9 forks source link

lazy state: doesn't work with ! expressionbs #708

Closed josephjclark closed 3 months ago

josephjclark commented 4 months ago

This:

fn(!$.data.x);

Compiles to this:

fn(!state => state.data.x)

Which looks wrong to me. It should compile to:

fn(state => !state.data.x)
josephjclark commented 3 months ago

This is actually fine, I must have tested against an old compiler version or something :thinking: Merging a test to prove it