Open Bug 1661482 Opened 2 years ago Updated 2 years ago

Private static method name symbols are dropped if not used


(Core :: JavaScript Engine, task, P3)





(Reporter: avandolder, Unassigned)



The private name symbol for private static methods is not marked as aliased if the method is never called, causing the symbol to be dropped. This makes the method inaccessible to Debugger.Frame.eval calls from within the class scope.

Thanks for filing this. I think it would be OK to fix it by marking these bindings as always closed-over. I need to try it to see if that would actually work.

Severity: -- → S3
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.