Skip to content
Commit 374c23cd authored by Jo-Philipp Wich's avatar Jo-Philipp Wich
Browse files

luci-base: luci.js: properly handle nested Class.super() calls



Introduce a unique __id__ attribute per class and use that, together with
the symbol name being looked up to, to form a unique key which is used to
store the prototype scope pointer.

This fixes cases where a call to super() invokes a procedure which is
calling super() as well on a different class or symbol.

Fixes: #3316
Signed-off-by: default avatarJo-Philipp Wich <jo@mein.io>
parent 666ad2df
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment