Commit 70f5afa2 authored by Robert Griesemer's avatar Robert Griesemer
Browse files

go/printer, gofmt: handle raw string literals containing newlines better

A raw string containing newlines breaks whatever columns structure
has been established so far. Recognize the situation and force a
new section of alignment with the first line break seen after the
the raw string.

Applied gofmt to src and misc.

Fixes #9064.

Change-Id: I961e94b529b1fd421908311f366b113e2ec9b7f0
Reviewed-on: https://go-review.googlesource.com/105040


Reviewed-by: default avatarMatthew Dempsky <mdempsky@google.com>
parent 2b7cfc51
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment