Hire Me! I'm currently looking for my next role in developer relations and advocacy. If you've got an open role and think I'd be a fit, please reach out. You can also find me on LinkedIn.

A user on cf-talk ran across an odd bug today. The error was:

Unable to complete CFML to Java translation.

What was the problem? He had simply tried to define a UDF inside a CFC method. This is not allowed. The same applies to trying to define a UDF inside another UDF. The fix was simple - move the UDF declaration outside the method.