I have a project with 10+ classes and 1000+ lines of code. Without any reason I could figure out Codea stopped recognizing one of the classes as a class. When I try to call any of the functions in the class, the class name gets treated as a variable i.e. an error about trying to index a global variable.
Since I wrote the above I found an international character (ä = a with dots) accidentally typed at the end of a line of code in the class tab. After removing the character, the class was again recognized as a class. However the particular function with the character would not function any more. I tried cutting and pasting it back. I removed the function and retyped it. I renamed it. Nothing seems to help. Any calls to that particular function in the class structure are interpreted as calls to a field of nil value.
The class that had the erroneus character is the root class for some subclasses. Now it seems that the subclasses “lost an internal link” to the particular function in the root class.
I have also tried to duplicate the project, but with little success.