salesforce / utam-java

UTAM Java implementation
MIT License
25 stars 16 forks source link

fix(compiler): change waitFor 504 error to 505 #211

Closed AdamTReineke closed 8 months ago

AdamTReineke commented 8 months ago

Updates the compiler's error message to align with the JS compiler by providing a better error when the generated waitFor name has a collision with a user-defined method name.

Continues the work done in #207 .

The fix pushes a list of methods along so when we generate the waitFor function name, we can check if it would be unique.