Skip to content
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

Closure compiler ERROR - The types of the getter and setter for property 'template' do not match. #5443

Closed
6 tasks
paladox opened this issue Nov 30, 2018 · 2 comments
Assignees

Comments

@paladox
Copy link

paladox commented Nov 30, 2018

Description

Hi, im trying out polymer 2.x in gerrit (using https://gerrit-review.googlesource.com/c/gerrit/+/203832 and https://gerrit-review.googlesource.com/c/gerrit/+/202532)

When i checked out 1b5849e bazel build release started to fail with:

bazel-out/darwin-fastbuild/bin/polygerrit-ui/app/gr-app.js:6136: ERROR - The types of the getter and setter for property 'template' do not match.
      static set template(value) {
                 ^
  ProTip: "CONFLICTING_GETTER_SETTER_TYPE" can be added to the `suppress` attribute of:
  //polygerrit-ui/app:polygerrit_ui_closure_lib

1 error(s), 1 warning(s)

This was working on commit 79de83c though.

Caused by 8882c3d

Live Demo

https://jsbin.com/luhaxab/edit

https://glitch.com/edit/#!/polymer-repro?path=my-element.html:2:0

Steps to Reproduce

Expected Results

Actual Results

Browsers Affected

  • Chrome
  • Firefox
  • Edge
  • Safari 11
  • Safari 10
  • IE 11

Versions

  • Polymer: 2.x (from the 2.x branch)
  • webcomponents: v1.3.0
@paladox
Copy link
Author

paladox commented Apr 9, 2019

Bump

@paladox
Copy link
Author

paladox commented Apr 11, 2019

Closing this as resolved (#5519)

@paladox paladox closed this as completed Apr 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants