Closed belav closed 9 months ago
I fixed the extra indent, but there is also the problem of the arguments not breaking properly. It looks like this problem also exists for multiline verbatim strings so it has been here for a while. I have the problem somewhat narrowed down, so hopefully can fix it within this PR
// input/expected output
CallMethod(
"""
SomeRawString
""".CallMethod().CallMethod()
);
CallMethod(
@"
SomeVerbatimString
".CallMethod().CallMethod()
);
// actual output
CallMethod("""
SomeRawString
""".CallMethod().CallMethod());
CallMethod(@"
SomeVerbatimString
".CallMethod().CallMethod());
The problem is more apparent with multiple arguments
// input/expected output
CallMethod(
"""
SomeRawString
""".CallMethod().CallMethod(),
[]
);
// actual output
CallMethod("""
SomeRawString
""".CallMethod().CallMethod(), []);
closes #1169