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

Issue 6584065: code review 6584065: go spec: conversion types starting with "func" must be ... (Closed)

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

Description

go spec: conversion types starting with "func" must be parenthesized Also: Be explicit what operator means with respect to conversion types. The parenthesis requirement is a language change. At the moment, literal function types in conversions that cannot possibly be followed by a '(' don't need parentheses. For instance: func(int)int(x) -> same as (func(int)int)(x) func()()(x) -> same as (func())(x) but: func(int)(x) -> could be func(int)x {...} Fixes issue 4109.

Patch Set 1 #

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

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

Total comments: 2

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

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

Messages

Total messages: 11
gri
Hello rsc, r, iant, ken2 (cc: golang-dev@googlegroups.com), I'd like you to review this change to ...
12 years, 5 months ago (2012-10-03 01:15:03 UTC) #1
r
LGTM blech
12 years, 5 months ago (2012-10-03 03:19:44 UTC) #2
iant
This seems fine in concept but I'm concerned about Go 1. Implementing this change in ...
12 years, 5 months ago (2012-10-03 17:56:30 UTC) #3
gri
Hello rsc@golang.org, r@golang.org, iant@golang.org, ken@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
12 years, 5 months ago (2012-10-03 20:01:26 UTC) #4
iant
LGTM
12 years, 5 months ago (2012-10-03 20:10:12 UTC) #5
iant
LGTM https://codereview.appspot.com/6584065/diff/7001/doc/go_spec.html File doc/go_spec.html (right): https://codereview.appspot.com/6584065/diff/7001/doc/go_spec.html#newcode3495 doc/go_spec.html:3495: Implementation restriction: For backward-compatibility with the Go 1 ...
12 years, 5 months ago (2012-10-03 20:10:47 UTC) #6
gri
We have other "implementation restrictions" in the spec that are not real restrictions (but loosen ...
12 years, 5 months ago (2012-10-03 20:19:09 UTC) #7
iant2
LGTM On Wed, Oct 3, 2012 at 1:19 PM, Robert Griesemer <gri@golang.org> wrote: > We ...
12 years, 5 months ago (2012-10-03 20:29:17 UTC) #8
r
LGTM https://codereview.appspot.com/6584065/diff/7001/doc/go_spec.html File doc/go_spec.html (right): https://codereview.appspot.com/6584065/diff/7001/doc/go_spec.html#newcode3497 doc/go_spec.html:3497: in conversions which are not ambiguous. s/which/that/ in ...
12 years, 5 months ago (2012-10-03 20:40:48 UTC) #9
gri
*** Submitted as http://code.google.com/p/go/source/detail?r=2a8dfbc7b566 *** go spec: conversion types starting with "func" must be parenthesized ...
12 years, 5 months ago (2012-10-03 20:46:45 UTC) #10
rsc
12 years, 5 months ago (2012-10-05 21:17:02 UTC) #11
LGTM
Sign in to reply to this message.

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