-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rollup mangles class names, breaking IDE code-complete #1378
Comments
Workaround - instead of
use
|
Thanks for the workaround! I really appreciate it.
|
I don't know if it's a bug, nor am I very well versed on what the ES6 spec says on the matter. |
It appears to be ES2015 spec compliant. Your example is re-exporting a live binding which is why it requires the See:
|
FYI, I published a related bug report for Babel: babel/babel#5660 |
@kzc Thanks for the references. Rollup's behavior makes a lot more sense now. |
Was this also solved by https://youtrack.jetbrains.com/issue/WEB-26724? |
@bfred-it yes |
Version 0.41.6
Webstorm 2017.1.1 (IDE)
createParent()
that returns an instance of typeParent
.Parent
intoParent$1
so when the IDE parses jsdoc it sees thatcreateParent()
returnsParent
but it cannot findclass Parent
anywhere. As a result, code-complete does not showParent.childMethod()
.The text was updated successfully, but these errors were encountered: