Nested inside closure function should be followed by semicolon.
Simple typecheck.