Fixed a static analyzer issue with anonymous functions defined in expressions (fixes #3).