JsLIGO: keep attributes in initializer
Attributes for inner let definitions are lost:
let bar = (b : int) : int => {
// @inline @foo @bar
let test = (z : int):int => 2 + b + z;
gets to
const bar = lambda (b) return let test = lambda (z) return ADD(ADD(2 ,b) , z) in (test)@(b)
i.e. test
does not get the inline
attribute. This MR is a simple fix for that.
-
has a changelog entry
Edited by E. Rivas