The issue and a possible reproduction is described in more detail in this comment: #6237 (comment)
#6237 is supposed to have fixed some issue with SniperPrinter adding space before type-casts. However, @algomaster99 highlighted the above issue with space being added while printing lambda expressions.