Currently transpiler adds default return value after comments, which seems odd:
on=@timer
call1
// here is some a comment
// here is another comment
return 0
preferred:
on=@timer
call1
return 0
// here is some a comment
// here is another comment
Tests:
[TestMethod]
public void Adds_return_statement_to_the_end_before_trailing_WS()
{
TranspileTriggerCheck(
@"on=@timer
call1
// here is some a comment
// here is another comment",
@"on=@timer
call1
return 0
// here is some a comment
// here is another comment
");
}
Currently transpiler adds default return value after comments, which seems odd:
preferred:
Tests: