Fix for Haxe 3.1.

Lambda was renamed to LocalFunction.  Since it was just ignored anyway, I've lumped it in with `default:`

Passes all unit tests.