]> git.kaiwu.me - njs.git/commit
Fixed function redeclaration.
authorDmitry Volyntsev <xeioex@nginx.com>
Tue, 25 Jan 2022 13:18:20 +0000 (13:18 +0000)
committerDmitry Volyntsev <xeioex@nginx.com>
Tue, 25 Jan 2022 13:18:20 +0000 (13:18 +0000)
commit12d17739a358a7d02a2331b5cf132257be4599b2
treeddd5d8d4b68ecc62eaf4b51b2e4ceead374988b7
parent6a07c2156a07ef307b6dcf3c2ca8571a5f1af7a6
Fixed function redeclaration.

Previously, the existing lambda structure was reused resulting in the
properties of the previously defined function was merged into a new one.

The bug was introduced in 66bd2cc7fd87 (0.7.0).
src/njs_generator.c
src/njs_variable.c
src/test/njs_unit_test.c