Fixed interaction between inlining and `do` expressions