gopher-lua icon indicating copy to clipboard operation
gopher-lua copied to clipboard

fix compiler producing incorrect LOADNIL byte code

Open tul opened this issue 1 year ago • 1 comments

Fixes #495

Proposed fix and tests to fix AddLoadNil() optimisation, which was incorrectly merging LOADNIL instructions under certain conditions.

tul avatar Jul 26 '24 21:07 tul

Coverage Status

coverage: 89.623%. remained the same when pulling b72019000c0c0487ce6ce6868a17dc3eb90eb8ca on tul:loadnil_fix into 2348fd042596f47bf9a1018a01f365ca3bf19134 on yuin:master.

coveralls avatar Jul 26 '24 21:07 coveralls