Compiler Error 1180

1180: Call to a possibly undefined method assignListeners.

The Situation

Writing a class and needed to assign a series of EventListeners to an object.


The error is telling you the the method your referencing may not exist.

The Fix

Being a complete tool, I invoked the function without having actually created it in my class. Apparently I was using the Agile approach … I was able to solve the issue by actually writing the method assignListeners() in my class.

This error is commonly seen with Error 1046 when you forget to import a class package.

Leave a Reply