Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1295)

Issue 179088: code review 179088: Parse expressions as opposed to statements for gofmt re... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
15 years, 3 months ago by gri
Modified:
15 years, 3 months ago
Reviewers:
CC:
rsc, golang-dev
Visibility:
Public.

Description

- Parse expressions as opposed to statements for gofmt rewrite patterns. Allows stand-alone types (e.g. []int as patterns) and doesn't require a semicolon at the end (which are now mandatory terminators). - Fix a matcher bug.

Patch Set 1 #

Patch Set 2 : code review 179088: Parse expressions as opposed to statements for gofmt re... #

Patch Set 3 : code review 179088: - Parse expressions as opposed to statements for gofmt ... #

Patch Set 4 : code review 179088: - Parse expressions as opposed to statements for gofmt ... #

Patch Set 5 : code review 179088: - Parse expressions as opposed to statements for gofmt ... #

Patch Set 6 : code review 179088: - Parse expressions as opposed to statements for gofmt ... #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -11 lines) Patch
M src/cmd/gofmt/rewrite.go View 1 2 3 3 chunks +8 lines, -11 lines 0 comments Download

Messages

Total messages: 3
gri
Hello rsc (cc: golang-dev@googlegroups.com), I'd like you to review the following change.
15 years, 3 months ago (2009-12-17 00:21:00 UTC) #1
rsc
LGTM should be a change in another file too? On Wed, Dec 16, 2009 at ...
15 years, 3 months ago (2009-12-17 00:47:15 UTC) #2
gri
15 years, 3 months ago (2009-12-17 00:54:04 UTC) #3
*** Submitted as http://code.google.com/p/go/source/detail?r=6a07fd3abfbc ***

- Parse expressions as opposed to statements for gofmt rewrite patterns.
Allows stand-alone types (e.g. []int as patterns) and doesn't require
a semicolon at the end (which are now mandatory terminators).

- Fix a matcher bug.

R=rsc
CC=golang-dev
http://codereview.appspot.com/179088
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b