ES6 private members are unusable if class extends "InstrumentationBase" #3837
Labels
bug
Something isn't working
priority:p4
Bugs and spec inconsistencies which do not fall into a higher prioritization
What happened?
I want to use ES6 private members in the class that extends
InstrumentationBase
. However, I cannot use them in the overriddenenable
method in the config because the super constructor calls it beforehand, and the call fails.Steps to Reproduce
Expected Result
The
bar
string is printed in the console.Actual Result
Fails with the error:
OpenTelemetry Setup Code
No response
package.json
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: