fixes overeager lambda shorthand syntax detector