summaryrefslogtreecommitdiff
path: root/doc/go_spec.html
AgeCommit message (Collapse)AuthorFilesLines
2014-08-13Imported Upstream version 1.3.1upstream/1.3.1Michael Stapelberg1-1/+1
2014-06-19Imported Upstream version 1.3upstream/1.3Michael Stapelberg1-181/+330
2013-12-03Imported Upstream version 1.2upstream/1.2Michael Stapelberg1-144/+260
2013-05-14Imported Upstream version 1.1upstream/1.1Michael Stapelberg1-109/+346
2013-03-04Imported Upstream version 1.1~hg20130304upstream/1.1_hg20130304Michael Stapelberg1-273/+478
2012-06-14Imported Upstream version 1.0.2upstream/1.0.2Ondřej Surý1-20/+44
2012-05-02Imported Upstream version 1.0.1upstream/1.0.1Ondřej Surý1-11/+11
2012-04-06Imported Upstream version 1upstream/1Ondřej Surý1-373/+581
2011-09-13Imported Upstream version 60upstream/60Ondřej Surý1-0/+5272
2011-09-13Imported Upstream version 60Ondřej Surý1-5272/+0
2011-08-03Imported Upstream version 59upstream/59Ondřej Surý1-36/+101
2011-06-30Imported Upstream version 58upstream/58Ondřej Surý1-127/+179
2011-04-28Imported Upstream version 2011.04.27upstream/2011.04.27Ondřej Surý1-7/+12
2011-04-26Imported Upstream version 2011.04.13upstream/2011.04.13Ondřej Surý1-38/+31
2011-04-20Imported Upstream version 2011.03.07.1upstream/2011.03.07.1Ondřej Surý1-18/+18
2011-02-18Imported Upstream version 2011.02.15upstream/2011.02.15Ondřej Surý1-144/+67
2011-02-14Imported Upstream version 2011-02-01.1upstream/2011-02-01.1Ondřej Surý1-164/+165
2011-01-17Imported Upstream version 2011.01.12upstream/2011.01.12Ondřej Surý1-195/+302
2010-06-21spec: struct tags must be identical for types to be identicalRuss Cox1-1/+2
We didn't mention this explicitly during our discussions, but I think it fits the "identical types are spelled identically" rule that we used. R=gri, iant, ken2, r, rsc1 CC=golang-dev http://codereview.appspot.com/1698043
2010-06-12spec: remove ... (keeping ...T)Russ Cox1-60/+21
R=gri, iant, ken2, r, r2 CC=golang-dev http://codereview.appspot.com/1632041
2010-06-11spec: clarify that result parameters are always zeroed before the function ↵Rob Pike1-2/+5
executes. R=golang-dev CC=golang-dev http://codereview.appspot.com/1641043
2010-06-07go spec: rename "assignment compatible" -> "assignable"Robert Griesemer1-27/+25
R=r, rsc CC=golang-dev http://codereview.appspot.com/1590041
2010-06-07go spec: clean-up and consolidation of spec with implementationRobert Griesemer1-118/+125
Specifically: - introduced notion of "underlying type" - removed notion of type compatibility - consolidated rules about assignment compatibility in assignment compatibility section - be consistent with specyfing that nil is the value for uninitialized variables that can be nil (this was not specified clearly for pointers, functions, interfaces) - added/fixed various related links throughout - clarify language on conversions R=rsc, r, iant, ken2 CC=golang-dev http://codereview.appspot.com/1536041
2010-06-03go spec: Base comparison compatibility on assignment compatibility.Robert Griesemer1-73/+68
Specifically: - Simplified definition of comparison compatibility and folded into section on comparison operators since it's only used there. This is a small language change/cleanup. As a consequence: - An interface value may now be compared against a non-interface value. - Channels with opposite directions cannot be compared directly anymore (per discussion with rsc). R=rsc, r, iant, ken2 CC=golang-dev http://codereview.appspot.com/1462041
2010-05-28go spec: change def. of "type compatibility" to be non-recursiveRobert Griesemer1-28/+38
and adjust conversion rules. Also: - clarification of type identity (no language change) - adjust special rules for channel assignment/comparison to require identical element types (in correspondence to non- recursiveness of type compatibility) R=rsc, iant, ken2, r CC=golang-dev http://codereview.appspot.com/1376042
2010-05-27go spec: Disallow &a notation to obtain a sliceRobert Griesemer1-7/+1
from an array; one needs to write a[0:] instead. R=rsc, r, iant, ken2 CC=golang-dev http://codereview.appspot.com/1365041
2010-05-25spec: Fix link to fallthrough statementsEvan Shaw1-1/+1
R=golang-dev, gri CC=golang-dev http://codereview.appspot.com/1303041 Committer: Robert Griesemer <gri@golang.org>
2010-05-24go spec: minor fix, to match conversion rules 4 and 5Robert Griesemer1-1/+2
R=rsc CC=golang-dev http://codereview.appspot.com/1270042 Committer: Robert Griesemer <gri@golang.org>
2010-05-24go spec: fix and clarify syntax of conversionsRobert Griesemer1-6/+17
Fixes issue 803. R=rsc, r, iant, ken2 CC=golang-dev http://codereview.appspot.com/1281041
2010-05-24spec: index of non-addressable array is not addressableRuss Cox1-3/+4
Motivated by: func f() []int func g() [10]int f()[1] = 1 // ok g()[1] = 1 // ERROR R=gri CC=golang-dev http://codereview.appspot.com/1278041
2010-05-23spec: Fix a code tagEvan Shaw1-1/+1
R=golang-dev, gri CC=golang-dev http://codereview.appspot.com/1266042 Committer: Robert Griesemer <gri@golang.org>
2010-05-14go spec: added imaginary literal to semicolon rules (was missing)Robert Griesemer1-12/+34
- also added links to the respective sections - reformatted section for better (source html) readability - added missing closing </li>'s in many places R=r CC=golang-dev http://codereview.appspot.com/1220041
2010-05-07go spec: simplify section on channel typesRobert Griesemer1-20/+18
R=rsc, iant, r CC=golang-dev http://codereview.appspot.com/1171041
2010-05-04go spec: clarification of make arguments,Robert Griesemer1-14/+17
specification of runtime exceptions for make and division by zero R=r, rsc, ken2, iant CC=golang-dev http://codereview.appspot.com/1081041
2010-04-29go spec: fix iota descriptionRobert Griesemer1-5/+4
R=r, rsc CC=golang-dev http://codereview.appspot.com/946046
2010-04-28spec: clarify "continue" with label. the text was obvious in intent butRob Pike1-1/+4
inaccurate in meaning. R=gri CC=golang-dev http://codereview.appspot.com/964045
2010-04-27go spec: fix wrong commentRobert Griesemer1-1/+1
Fixes issue 743. R=r, rsc CC=golang-dev http://codereview.appspot.com/944044
2010-04-22spec: Fix run-time panic header idEvan Shaw1-1/+1
Everything was linking to "Run_time_panics", but the id was "Run_time_errors". R=golang-dev, r CC=golang-dev http://codereview.appspot.com/961042 Committer: Rob Pike <r@golang.org>
2010-04-13go_spec updatesRuss Cox1-5/+5
R=r, iant CC=golang-dev http://codereview.appspot.com/921041
2010-04-08gp_spec typo fix: code example in the "Handling panics" sectionJoe Poirier1-1/+1
R=rsc, adg CC=golang-dev http://codereview.appspot.com/881047 Committer: Andrew Gerrand <adg@golang.org>
2010-04-01go spec: correct clarification of type declarationRobert Griesemer1-6/+3
R=rsc, r CC=golang-dev http://codereview.appspot.com/855043 Committer: Robert Griesemer <gri@golang.org>
2010-03-31go spec: clarification of type declarationsRobert Griesemer1-2/+8
R=r, rsc CC=golang-dev http://codereview.appspot.com/849044
2010-03-30godoc: support for title and subtitle headers when serving .html docsRobert Griesemer1-1/+2
and use it to show version (date) of go spec Fixes issue 68. R=rsc CC=golang-dev, r http://codereview.appspot.com/848042
2010-03-29spec: typo in switch sample code, missing semicolonAndrew Gerrand1-1/+1
Fixes issue 697 R=r CC=golang-dev http://codereview.appspot.com/804042
2010-03-26gc: allow taking address of out parametersRuss Cox1-1/+1
Fixes issue 186. R=ken2 CC=golang-dev http://codereview.appspot.com/793041
2010-03-25spec changes for panic and recover.Rob Pike1-8/+178
R=rsc, gri CC=golang-dev http://codereview.appspot.com/763041
2010-03-24Delete panicln from the spec.Rob Pike1-2/+1
R=rsc, gri, iant, ken2 CC=golang-dev http://codereview.appspot.com/738041
2010-03-23go spec: modification of defer statementRobert Griesemer1-5/+17
R=r, rsc, ken2, iant CC=golang-dev http://codereview.appspot.com/708041
2010-03-23Go spec: map indexing never raises a runtime exception.Robert Griesemer1-25/+28
Also: Actual map key must be assignment-compatible with formal map key type. Fixes issue 357. R=r, iant, rsc, ken2 CC=golang-dev http://codereview.appspot.com/673042
2010-03-10Revert previous change: complexN only converts to complexN.Ian Lance Taylor1-1/+1
This was discussed with Ken and Russ. 6g has been changed, and both compilers now work this way. This avoids a double type conversion--first to the float type, then to the complex type. R=r CC=golang-dev, ken2, rsc http://codereview.appspot.com/419042