open-wc / custom-elements-manifest

Custom Elements Manifest is a file format that describes custom elements in your project.
https://custom-elements-manifest.open-wc.org/
225 stars 37 forks source link

[CORE-CLASSES] cannot handle class declarations that extend CallExpressions with no parameters #204

Open elasim opened 1 year ago

elasim commented 1 year ago

Playground issue

Reproduction URL: https://custom-elements-manifest.netlify.app/?source=CmNsYXNzIE15RWxlbWVudCBleHRlbmRzIGZ1bmNXaXRoTm9BcmcoKSB7CiAgc3RhdGljIGdldCBvYnNlcnZlZEF0dHJpYnV0ZXMoKSB7CiAgICByZXR1cm4gWydkaXNhYmxlZCddOwogIH0KCiAgc2V0IGRpc2FibGVkKHZhbCkgewogICAgdGhpcy5fX2Rpc2FibGVkID0gdmFsOwogIH0KICBnZXQgZGlzYWJsZWQoKSB7CiAgICByZXR1cm4gdGhpcy5fX2Rpc2FibGVkOwogIH0KCiAgZmlyZSgpIHsKICAgIHRoaXMuZGlzcGF0Y2hFdmVudChuZXcgRXZlbnQoJ2Rpc2FibGVkLWNoYW5nZWQnKSk7CiAgfQp9CgpjdXN0b21FbGVtZW50cy5kZWZpbmUoJ215LWVsZW1lbnQnLCBNeUVsZW1lbnQpOwo%3D&library=null

Additional information:

Please enter additional information here.

thepassle commented 1 year ago

Id be interested to learn more about the usecase, could you explain the usecase itself more in detail?

elasim commented 1 year ago

found this bug with the codebase I'm working on. Unfortunately, I can't upload the code due to license issues, and can't think of any particular use cases to share at the moment. Sorry about that. 🙄

+Maybe a mixin? sort of.