1. 28 Feb, 2013 1 commit
  2. 15 Feb, 2013 1 commit
  3. 11 Feb, 2013 3 commits
  4. 09 Feb, 2013 2 commits
  5. 24 Jan, 2013 1 commit
  6. 21 Jan, 2013 1 commit
  7. 18 Jan, 2013 1 commit
  8. 17 Jan, 2013 1 commit
  9. 09 Jan, 2013 1 commit
  10. 08 Jan, 2013 1 commit
  11. 07 Jan, 2013 1 commit
  12. 03 Jan, 2013 1 commit
  13. 12 Dec, 2012 3 commits
  14. 11 Dec, 2012 1 commit
  15. 10 Dec, 2012 1 commit
  16. 06 Dec, 2012 2 commits
  17. 04 Dec, 2012 1 commit
  18. 03 Dec, 2012 1 commit
  19. 29 Nov, 2012 2 commits
  20. 26 Nov, 2012 1 commit
  21. 21 Nov, 2012 1 commit
  22. 17 Nov, 2012 1 commit
  23. 02 Nov, 2012 1 commit
  24. 01 Nov, 2012 1 commit
    • Robert Griesemer's avatar
      spec: clarify returns, defer statements, and panics · 1e8e14c9
      Robert Griesemer authored
      This is an attempt at making the interaction between
      these three constructs clearer. Specifically:
      
      - return statements terminate a function, execute deferred
        functions, return to the caller, and then execution
        continues after the call
      
      - panic calls terminate a function, execute deferred
        functions, return to the caller, and then re-panic
      
      - deferred functions are executed before a function _returns_
        to its caller
      
      The hope is that with this change it becomes clear when a
      deferred function is executed (when a function returns),
      and when it is not (when a program exits).
      
      R=r, rsc, iant, ken, iant
      CC=golang-dev
      https://golang.org/cl/6736071
      1e8e14c9
  25. 31 Oct, 2012 2 commits
  26. 19 Oct, 2012 2 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
  27. 17 Oct, 2012 1 commit
  28. 16 Oct, 2012 1 commit
  29. 10 Oct, 2012 1 commit
  30. 03 Oct, 2012 1 commit
    • Robert Griesemer's avatar
      go spec: conversion types starting with "func" must be parenthesized · 3188ffc9
      Robert Griesemer authored
      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 #4109.
      
      R=rsc, r, iant, ken, iant
      CC=golang-dev
      https://golang.org/cl/6584065
      3188ffc9
  31. 28 Sep, 2012 1 commit