Single-line functions caused the assertion in updateNonemptyFunc (new: updateMultilineFunc) to panic: we put cursor at the first non-contract statement of the function body and move it back till we expected to reach either a new-line start or a semi-colon (';') indicating the end of the contract block.
However, when a single-line function was given, we would reach the left brace of the function definition like in this function:
Single-line functions caused the assertion in updateNonemptyFunc (new: updateMultilineFunc) to panic: we put cursor at the first non-contract statement of the function body and move it back till we expected to reach either a new-line start or a semi-colon (';') indicating the end of the contract block.
However, when a single-line function was given, we would reach the left brace of the function definition like in this function: