An error occurred fetching the project authors.
  1. 26 Jan, 2011 1 commit
  2. 21 Jan, 2011 1 commit
  3. 20 Jan, 2011 1 commit
    • Robert Griesemer's avatar
      go spec: remove float, complex in favor of float64 and complex128 · b94c0d2a
      Robert Griesemer authored
      The default float type is not very useful but for the most basic applications.
      For instance, as it is now, using the math package requires conversions for float
      variables (the arguments for math functions are usually float64). Typical real
      applications tend to specify the floating point precision required.
      
      This proposal removes the predeclared types float and complex. Variable declarations
      without type specification but with constant floating point or complex initializer
      expressions will assume the type float64 or complex128 respectively.
      
      The predeclared function cmplx is renamed to complex.
      
      R=golang-dev, rsc
      CC=golang-dev
      https://golang.org/cl/3423041
      b94c0d2a
  4. 19 Jan, 2011 1 commit
  5. 13 Jan, 2011 1 commit
  6. 10 Jan, 2011 1 commit
  7. 05 Jan, 2011 1 commit
  8. 14 Dec, 2010 1 commit
  9. 02 Dec, 2010 1 commit
  10. 12 Nov, 2010 1 commit
  11. 09 Nov, 2010 2 commits
  12. 04 Nov, 2010 1 commit
  13. 29 Oct, 2010 1 commit
  14. 27 Oct, 2010 2 commits
  15. 25 Oct, 2010 2 commits
  16. 22 Oct, 2010 1 commit
  17. 30 Sep, 2010 1 commit
  18. 28 Sep, 2010 3 commits
  19. 24 Sep, 2010 1 commit
  20. 20 Sep, 2010 1 commit
  21. 07 Sep, 2010 3 commits
  22. 02 Sep, 2010 1 commit
  23. 01 Sep, 2010 2 commits
  24. 24 Aug, 2010 1 commit
  25. 15 Aug, 2010 1 commit
  26. 14 Aug, 2010 1 commit
  27. 30 Jul, 2010 1 commit
    • Robert Griesemer's avatar
      go_spec: don't allow parens around the literal type of composite literals · 07cc6440
      Robert Griesemer authored
      Background: The current spec is imprecise with respect to the parsing ambiguity
      for composite literals: It says that the ambiguity arises when the TypeName form
      of the LiteralType is used. The following code:
      
          if (B) {} ...
      
      is not using the TypeName form (but the parenthesized TypeName form) and thus
      could be interpreted as:
      
          if ((B){}) ...
      
      instead of
      
          if B {} ...
      
      Both compilers and gofmt choose the latter interpretation. One could fix the
      spec by making the clause regarding the parsing ambiguity more precise ("...using
      the _possibly parenthesized_ TypeName form of the LiteralType..."). The alternative
      (chosen here) is to simply disallow parenthesized literal types. Except for a single
      test case (test/parentype.go) there appears to be no Go code under $GOROOT containing
      parenthesized literal types. Furthermore, parentheses are never needed around a
      literal type for correct parsing.
      
      R=golang-dev
      CC=golang-dev
      https://golang.org/cl/1913041
      07cc6440
  28. 27 Jul, 2010 1 commit
  29. 14 Jul, 2010 1 commit
  30. 13 Jul, 2010 2 commits
  31. 09 Jul, 2010 1 commit