Closed cclerget closed 2 years ago
FYI, it is likely I'll cherry-pick some of the important fixes into a v3.4.1 in a week or so. I assume that pulling master is fine in the meantime; there haven't been any large or breaking changes since then.
I've started the cherry-picking with what we've got so far at https://github.com/mvdan/sh/tree/v3.4, if you want to use the HEAD of that branch rather than master, which is now the start of v3.5.
I've started the cherry-picking with what we've got so far at https://github.com/mvdan/sh/tree/v3.4, if you want to use the HEAD of that branch rather than master, which is now the start of v3.5.
Great thanks :+1: :)
Variables declared as exported or readonly in functions without assignment are not correctly propagated to the global scope, this snippet should return a
bar: readonly variable
error:This snippet should also export
bar
variable correctly: