-
Notifications
You must be signed in to change notification settings - Fork 200
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
analyzer class issues #1556
Comments
Hm, 1, 3, and 4 seem like bugs. |
On
https://github.com/Polymer/polymer/blob/master/lib/utils/debounce.html |
I confirm that placing the block ending with comment causes error in #674: /* eslint-disable camelcase */
var DESTINATION_MAP = {
google_analytics: 'selectAnalyticsAccess',
click_house: 'selectClickHouseAccess'
};
/* eslint-enable camelcase */
Polymer({
is: 'my-element', So, analyzer treats This bug does not exist as of |
I have also had commenting errors. ScannedPolymerElement has both HTML doc and JSDoc comments. I managed to remove the errors I have this at the top
Then in the <script> section I have
This returns the above error. Remove the line with two forward slashes comments, and it no longer shows the errors. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Found some issues with the analyzer output for classes in the Polymer 2.0 core library:
The
Debouncer
class (https://github.com/Polymer/polymer/blob/master/lib/utils/debounce.html) is in top levelclasses
, but I expected it to be innamespaces.Polymer.classes
. Interesting that it has a@memberof Polymer
annotation. The only class that does make it into the Polymer namespace isFlattenedNodesObserver
(https://github.com/Polymer/polymer/blob/master/lib/utils/flattened-nodes-observer.html) and it does not have that annotation.The description for
Debouncer
iseslint-disable-line no-unused-vars
, which is a standalone comment on the line before the class declaration. The class declaration has no jsdoc block.There's a top-level public class with no name from https://github.com/Polymer/polymer/blob/master/lib/utils/templatize.html. Line 46 is actually just a comment, so I wonder if there's also an issue with source offset?
klass
classes generated again from https://github.com/Polymer/polymer/blob/master/lib/utils/templatize.html.The text was updated successfully, but these errors were encountered: