candlecorp / wick

Functional, reactive WebAssembly with a twist
https://candle.dev
Other
471 stars 17 forks source link

Imported components that have `new` or `component` cause errors in codegen #453

Open jsoverson opened 1 year ago

jsoverson commented 1 year ago

Describe the bug If you import a component that has an op named new or component, it will cause an error in the codegen due to conflicting method names.

To Reproduce

Import common/object which has an operation named new.

Expected behavior Everything works great

Actual behavior The component fails to build because of conflicting method names.

Environment: