1. 10 Apr, 2009 7 commits
  2. 09 Apr, 2009 9 commits
  3. 08 Apr, 2009 3 commits
    • Russ Cox's avatar
      bug142 · b8035ab5
      Russ Cox authored
      R=ken
      OCL=27202
      CL=27202
      b8035ab5
    • Russ Cox's avatar
      func f() (int, int); · 3067781a
      Russ Cox authored
      x := f();
      
      used to give
      	fatal error: dowidth fn struct struct { int; int }
      
      now gives
      	assignment count mismatch: 1 = 2
      
      R=ken
      OCL=27198
      CL=27201
      3067781a
    • Russ Cox's avatar
      fumbly fingers + non-working ^C · 7cbec417
      Russ Cox authored
      submitted CL without applying edits.
      
      make changes from CL 27142 review
      
      R=r
      DELTA=26  (17 added, 3 deleted, 6 changed)
      OCL=27155
      CL=27199
      7cbec417
  4. 07 Apr, 2009 10 commits
  5. 06 Apr, 2009 1 commit
  6. 04 Apr, 2009 1 commit
    • Russ Cox's avatar
      fix both of anton's bugs: · 907cb4f1
      Russ Cox authored
      * make([100]int) was being compiled to
      	make([]int), kind of.
      * []this = [100]that was working for any this, that.
      
      turned up a typo in pipe_test.go
      
      R=ken
      OCL=27081
      CL=27081
      907cb4f1
  7. 03 Apr, 2009 9 commits
    • Robert Griesemer's avatar
      Daily snapshot. · 2a9f1ee2
      Robert Griesemer authored
      - godoc now supports the following url prefixes:
        /doc/ for package documentation
        /file/ for files (directories, html, and .go files)
        /spec for the spec
        /mem for the memory model
      - formatting of comments has been fixed
      - tons of minor cleanups (still more to do)
      
      Still missing:
      - pretty printing of source is not as pretty as it used to be
      (still a relict from the massive AST cleanup which has't quite made it's way everywhere)
      - documentation entries should be sorted
      - comments in code is not printed or not properly printed
      
      TBR=r
      DELTA=416  (182 added, 100 deleted, 134 changed)
      OCL=27078
      CL=27078
      2a9f1ee2
    • Robert Griesemer's avatar
      change in negation · 461fb393
      Robert Griesemer authored
      R=rsc
      DELTA=1  (0 added, 0 deleted, 1 changed)
      OCL=27061
      CL=27061
      461fb393
    • Rob Pike's avatar
      an attempt at simpler yet more correct semicolon rules. · 736a1aeb
      Rob Pike authored
      (i'd be happy to drop the paren one as well, reducing it to one case)
      
      DELTA=4  (0 added, 3 deleted, 1 changed)
      OCL=27058
      CL=27060
      736a1aeb
    • Robert Griesemer's avatar
      require ";" separator after function literals · 27d1159a
      Robert Griesemer authored
      R=rsc
      DELTA=1  (1 added, 0 deleted, 0 changed)
      OCL=27057
      CL=27059
      27d1159a
    • Robert Griesemer's avatar
      - don't show methods of non-exported types · bfea141c
      Robert Griesemer authored
      (even if the methods are exported)
      
      R=rsc
      OCL=27056
      CL=27056
      bfea141c
    • Robert Griesemer's avatar
      - renamed hasPostfix -> hasSuffix · 184c623e
      Robert Griesemer authored
      - fixed printing of function literals (require separating ";")
      
      R=rsc
      OCL=27055
      CL=27055
      184c623e
    • Robert Griesemer's avatar
      - moved functions before types in doc output (per rsc) · 91238c5b
      Robert Griesemer authored
      - use /src and /doc prefix in URL to distinguish output type (per rsc)
      - fixed a bug in an internal string function
      - ignore files ending in _test.go (consider them test files)
      
      R=rsc
      OCL=27054
      CL=27054
      91238c5b
    • Russ Cox's avatar
      special case check for this situation · 39436f2a
      Russ Cox authored
      	; cat >http.go
      	package main
      	import "http"  // intended the library, not this file
      	^D
      	; 6g http.go
      	; 6g http.go
      	http.go:4: export/package mismatch: init
      	;
      
      new error:
      
      	http.6:7 http.go:3: cannot import package main
      
      R=ken
      OCL=27053
      CL=27053
      39436f2a
    • Russ Cox's avatar
      type n t; · 07687705
      Russ Cox authored
      was copying a bit too much about t into n,
      like whether the signature was queued to be printed.
      (bug reported by anton)
      
      was also editing t, meaning you could do
      	type T int;
      	func (p int) Meth() { }
      
      both fixed.
      
      R=ken
      OCL=27052
      CL=27052
      07687705