1. 25 Oct, 2012 3 commits
  2. 24 Oct, 2012 3 commits
  3. 23 Oct, 2012 1 commit
  4. 22 Oct, 2012 15 commits
  5. 21 Oct, 2012 11 commits
  6. 20 Oct, 2012 4 commits
  7. 19 Oct, 2012 3 commits
    • Robert Griesemer's avatar
      go spec: constant divisors must not be zero · ddddd39f
      Robert Griesemer authored
      Both gc and gccgo always checked this for constant
      expressions but the spec only mentions run-time
      exceptions.
      
      This CL also requires that constant divisors
      must not be zero in non-constant integer expressions:
      This is consistent with the spirit of the most
      recent changes and it is consistent with constant
      expressions. We don't want to specify the effect for
      non-integer expressions (f/0.0 where f is a float or
      complex number) because there the result f/g is not
      further specified if a non-constant g is 0.
      
      R=r, rsc, iant, ken, andybalholm, iant
      CC=golang-dev
      https://golang.org/cl/6710045
      ddddd39f
    • Robert Griesemer's avatar
      go spec: define make() restrictions as for index expressions · 3bde0003
      Robert Griesemer authored
      This is a language change: Until now, the spec required run-
      time panics for some of these errors. Note that gc and gccgo
      implemented this inconsistently, and that both compilers already
      reported compile-time errors in some cases. This change makes
      make() behave along the same vein as index expressions.
      
      This addresses the spec aspect of issue 4085.
      
      R=r, rsc, iant, ken
      CC=golang-dev
      https://golang.org/cl/6725053
      3bde0003
    • Oling Cat's avatar
      unsafe: fix a typo · c117da37
      Oling Cat authored
      R=golang-dev, dsymonds
      CC=golang-dev
      https://golang.org/cl/6736048
      c117da37