Hopefully I’ll be able to define my problem as clearly as possible.
It often happens that longer scripts (touching 6000+ paragraphs but also below),
which before compiled perfectly don’t “like” to compile anymore after trivial code changes,
if they have AsObjC handlers in it.
(This “code changes” are anything from code improvements to code additions)
Script editor refused to safe with the error reason of overflow mostly.
Even removing bigger parts of vanilla applescript code didn’t help to compile my working code again.
A workaround I found was to add line breaks but that worked only so far as I was lucky enough to find the right line to insert the break. Thereafter my code compiled again and I could save my script instead to revert to the last working code.
ASObjC handlers have become increasingly more important in my overall coding practice but this compile-bugs bother me pretty much.
I’m not sure how to define this problem more closely as described. The vanilla code I write adds something that AsObjC doesn’t like. But it’s simple code I add… Strange
Maybe somebody knows already steps to avoid annoying and frustrating situations like that?