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

Issue 6996053: code review 6996053: spec: clarify language about unary operator & (Closed)

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

Description

spec: clarify language about unary operator & A composite literal may be parenthesized when used as operand for the unary operator &.

Patch Set 1 #

Patch Set 2 : diff -r a244dfa507e0 https://code.google.com/p/go #

Patch Set 3 : diff -r a244dfa507e0 https://code.google.com/p/go #

Patch Set 4 : diff -r aa5d9f234a8e https://code.google.com/p/go #

Patch Set 5 : diff -r 6e941dd4ded3 https://code.google.com/p/go/ #

Patch Set 6 : diff -r 6e941dd4ded3 https://code.google.com/p/go/ #

Patch Set 7 : diff -r 6e941dd4ded3 https://code.google.com/p/go/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -1 line) Patch
M doc/go_spec.html View 1 2 3 4 5 3 chunks +3 lines, -1 line 0 comments Download

Messages

Total messages: 5
gri
Hello rsc@golang.org, iant@golang.org, r@golang.org, ken@golang.org (cc: golang-dev@googlegroups.com), I'd like you to review this change to ...
12 years, 3 months ago (2012-12-23 00:56:41 UTC) #1
rsc
I think I'm missing something. Why is this exceptional? & works on any parenthesized expression, ...
12 years, 3 months ago (2012-12-23 01:45:07 UTC) #2
gri
In general we talk about the type of operands that are valid with an operation, ...
12 years, 3 months ago (2012-12-23 04:03:01 UTC) #3
rsc
LGTM
12 years, 2 months ago (2013-01-02 22:41:47 UTC) #4
gri
12 years, 2 months ago (2013-01-03 02:11:55 UTC) #5
*** Submitted as https://code.google.com/p/go/source/detail?r=f0e7ba409b05 ***

spec: clarify language about unary operator &

A composite literal may be parenthesized when
used as operand for the unary operator &.

R=rsc, iant, r, ken
CC=golang-dev
https://codereview.appspot.com/6996053
Sign in to reply to this message.

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