FAQ
Change 08462805eb2c broke the linux-arm-cheney build:
http://build.golang.org/log/a63c6fad7055e67aa45dea20540fb7495665e6f3

spec: channel operations are restricted by the channel direction

Also:
- 'for' statements with a range clause do not accept send-only
channels
- '_, _ = range ch' is not equivalent to "_ = range ch" if ch
is a channel (rewriting the latter to the former leads to
an invalid range clause).

These clarifications document the status quo.

R=rsc, r, iant, ken
CC=golang-dev
https://codereview.appspot.com/6874053

http://code.google.com/p/go/source/detail?r=08462805eb2c

$ tail -200 < log
database/sql
debug/gosym
encoding/ascii85
encoding/base32
encoding/csv
exp/cookiejar
exp/ebnf
exp/ebnflint
exp/types
exp/gotype
exp/html/atom
exp/html
exp/inotify
exp/norm
exp/locale/collate
hash/fnv
exp/locale/collate/build
exp/locale/collate/tools/colcmp
exp/utf8string
hash/crc64
image/color
image
image/draw
image/gif
image/jpeg
image/png
log/syslog
math/cmplx
net/http/cgi
net/http/fcgi
net/http/httptest
net/http/httputil
net/mail
net/rpc
net/rpc/jsonrpc
net/smtp
old/netchan
os/signal
os/user
runtime/debug
testing
testing/iotest
testing/quick

# Testing packages.
ok cmd/api 0.109s
? cmd/cgo [no test files]
ok cmd/fix 14.721s
ok cmd/go 0.135s
? cmd/godoc [no test files]
ok cmd/gofmt 0.333s
? cmd/vet [no test files]
? cmd/yacc [no test files]
ok archive/tar 0.058s
ok archive/zip 0.363s
ok bufio 0.376s
ok bytes 0.989s
ok compress/bzip2 0.556s
ok compress/flate 4.352s
ok compress/gzip 0.077s
ok compress/lzw 0.779s
ok compress/zlib 8.900s
ok container/heap 0.054s
ok container/list 0.051s
ok container/ring 0.111s
? crypto [no test files]
ok crypto/aes 0.163s
ok crypto/cipher 0.060s
ok crypto/des 0.266s
ok crypto/dsa 0.126s
ok crypto/ecdsa 0.272s
ok crypto/elliptic 0.120s
ok crypto/hmac 0.138s
ok crypto/md5 0.060s
ok crypto/rand 0.231s
ok crypto/rc4 0.049s
ok crypto/rsa 1.489s
ok crypto/sha1 0.056s
ok crypto/sha256 0.058s
ok crypto/sha512 0.069s
ok crypto/subtle 0.078s
ok crypto/tls 3.872s
ok crypto/x509 9.063s
? crypto/x509/pkix [no test files]
ok database/sql 0.112s
ok database/sql/driver 0.051s
ok debug/dwarf 0.081s
ok debug/elf 0.096s
ok debug/gosym 0.055s
ok debug/macho 0.063s
ok debug/pe 0.085s
ok encoding/ascii85 0.056s
ok encoding/asn1 0.070s
ok encoding/base32 0.060s
ok encoding/base64 0.061s
ok encoding/binary 0.063s
ok encoding/csv 0.057s
ok encoding/gob 0.312s
ok encoding/hex 0.053s
ok encoding/json 0.379s
ok encoding/pem 0.073s
ok encoding/xml 0.136s
ok errors 0.053s
ok exp/cookiejar 0.088s
ok exp/ebnf 0.054s
ok exp/ebnflint 0.087s
ok exp/gotype 7.684s
ok exp/html 1.262s
ok exp/html/atom 0.052s
ok exp/inotify 1.094s
ok exp/locale/collate 0.161s
ok exp/locale/collate/build 0.088s
? exp/locale/collate/tools/colcmp [no test files]
ok exp/norm 9.032s
ok exp/types 4.120s
ok exp/utf8string 0.054s
ok expvar 0.093s
ok flag 0.054s
ok fmt 0.348s
ok go/ast 0.092s
ok go/build 0.963s
ok go/doc 0.488s
ok go/format 0.106s
ok go/parser 0.337s
ok go/printer 2.814s
ok go/scanner 0.073s
ok go/token 0.349s
? hash [no test files]
ok hash/adler32 0.118s
ok hash/crc32 0.050s
ok hash/crc64 0.050s
ok hash/fnv 0.051s
ok html 0.058s
ok html/template 0.375s
ok image 0.582s
ok image/color 0.100s
ok image/draw 0.204s
? image/gif [no test files]
ok image/jpeg 0.958s
ok image/png 0.374s
ok index/suffixarray 0.105s
ok io 0.072s
ok io/ioutil 0.055s
ok log 0.065s
--- FAIL: TestWrite (0.11 seconds)
syslog_test.go:154: s.Info() = '""', didn't match '"<11>1 %s %s
syslog_test[%d]: \n"'
FAIL
FAIL log/syslog 0.300s
ok math 0.070s
ok math/big 3.031s
ok math/cmplx 0.054s
ok math/rand 0.240s
ok mime 0.056s
ok mime/multipart 0.858s
ok net 3.828s
ok net/http 15.872s
ok net/http/cgi 1.752s
ok net/http/fcgi 0.099s
ok net/http/httptest 0.100s
ok net/http/httputil 0.206s
? net/http/pprof [no test files]
ok net/mail 0.071s
ok net/rpc 0.470s
ok net/rpc/jsonrpc 0.125s
ok net/smtp 0.079s
ok net/textproto 0.069s
ok net/url 0.064s
ok old/netchan 0.151s
ok os 0.139s
ok os/exec 2.863s
ok os/signal 0.052s
ok os/user 0.060s
ok path 0.063s
ok path/filepath 1.143s
ok reflect 0.206s
ok regexp 0.695s
ok regexp/syntax 3.849s
ok runtime 8.250s
? runtime/cgo [no test files]
ok runtime/debug 0.052s
ok runtime/pprof 1.613s
ok sort 0.600s
ok strconv 3.161s
ok strings 0.750s
ok sync 0.362s
ok sync/atomic 0.144s
ok syscall 0.125s
? testing [no test files]
? testing/iotest [no test files]
ok testing/quick 0.196s
ok text/scanner 0.067s
ok text/tabwriter 0.064s
ok text/template 0.173s
ok text/template/parse 0.087s
ok time 4.682s
ok unicode 0.057s
ok unicode/utf16 0.051s
ok unicode/utf8 0.079s
? unsafe [no test files]

Search Discussions

  • Dave Cheney at Dec 3, 2012 at 11:54 pm
    http://code.google.com/p/go/issues/detail?id=4467
    On Tue, Dec 4, 2012 at 9:50 AM, wrote:
    Change 08462805eb2c broke the linux-arm-cheney build:
    http://build.golang.org/log/a63c6fad7055e67aa45dea20540fb7495665e6f3

    spec: channel operations are restricted by the channel direction

    Also:
    - 'for' statements with a range clause do not accept send-only
    channels
    - '_, _ = range ch' is not equivalent to "_ = range ch" if ch
    is a channel (rewriting the latter to the former leads to
    an invalid range clause).

    These clarifications document the status quo.

    R=rsc, r, iant, ken
    CC=golang-dev
    https://codereview.appspot.com/6874053

    http://code.google.com/p/go/source/detail?r=08462805eb2c

    $ tail -200 < log
    database/sql
    debug/gosym
    encoding/ascii85
    encoding/base32
    encoding/csv
    exp/cookiejar
    exp/ebnf
    exp/ebnflint
    exp/types
    exp/gotype
    exp/html/atom
    exp/html
    exp/inotify
    exp/norm
    exp/locale/collate
    hash/fnv
    exp/locale/collate/build
    exp/locale/collate/tools/colcmp
    exp/utf8string
    hash/crc64
    image/color
    image
    image/draw
    image/gif
    image/jpeg
    image/png
    log/syslog
    math/cmplx
    net/http/cgi
    net/http/fcgi
    net/http/httptest
    net/http/httputil
    net/mail
    net/rpc
    net/rpc/jsonrpc
    net/smtp
    old/netchan
    os/signal
    os/user
    runtime/debug
    testing
    testing/iotest
    testing/quick

    # Testing packages.
    ok cmd/api 0.109s
    ? cmd/cgo [no test files]
    ok cmd/fix 14.721s
    ok cmd/go 0.135s
    ? cmd/godoc [no test files]
    ok cmd/gofmt 0.333s
    ? cmd/vet [no test files]
    ? cmd/yacc [no test files]
    ok archive/tar 0.058s
    ok archive/zip 0.363s
    ok bufio 0.376s
    ok bytes 0.989s
    ok compress/bzip2 0.556s
    ok compress/flate 4.352s
    ok compress/gzip 0.077s
    ok compress/lzw 0.779s
    ok compress/zlib 8.900s
    ok container/heap 0.054s
    ok container/list 0.051s
    ok container/ring 0.111s
    ? crypto [no test files]
    ok crypto/aes 0.163s
    ok crypto/cipher 0.060s
    ok crypto/des 0.266s
    ok crypto/dsa 0.126s
    ok crypto/ecdsa 0.272s
    ok crypto/elliptic 0.120s
    ok crypto/hmac 0.138s
    ok crypto/md5 0.060s
    ok crypto/rand 0.231s
    ok crypto/rc4 0.049s
    ok crypto/rsa 1.489s
    ok crypto/sha1 0.056s
    ok crypto/sha256 0.058s
    ok crypto/sha512 0.069s
    ok crypto/subtle 0.078s
    ok crypto/tls 3.872s
    ok crypto/x509 9.063s
    ? crypto/x509/pkix [no test files]
    ok database/sql 0.112s
    ok database/sql/driver 0.051s
    ok debug/dwarf 0.081s
    ok debug/elf 0.096s
    ok debug/gosym 0.055s
    ok debug/macho 0.063s
    ok debug/pe 0.085s
    ok encoding/ascii85 0.056s
    ok encoding/asn1 0.070s
    ok encoding/base32 0.060s
    ok encoding/base64 0.061s
    ok encoding/binary 0.063s
    ok encoding/csv 0.057s
    ok encoding/gob 0.312s
    ok encoding/hex 0.053s
    ok encoding/json 0.379s
    ok encoding/pem 0.073s
    ok encoding/xml 0.136s
    ok errors 0.053s
    ok exp/cookiejar 0.088s
    ok exp/ebnf 0.054s
    ok exp/ebnflint 0.087s
    ok exp/gotype 7.684s
    ok exp/html 1.262s
    ok exp/html/atom 0.052s
    ok exp/inotify 1.094s
    ok exp/locale/collate 0.161s
    ok exp/locale/collate/build 0.088s
    ? exp/locale/collate/tools/colcmp [no test files]
    ok exp/norm 9.032s
    ok exp/types 4.120s
    ok exp/utf8string 0.054s
    ok expvar 0.093s
    ok flag 0.054s
    ok fmt 0.348s
    ok go/ast 0.092s
    ok go/build 0.963s
    ok go/doc 0.488s
    ok go/format 0.106s
    ok go/parser 0.337s
    ok go/printer 2.814s
    ok go/scanner 0.073s
    ok go/token 0.349s
    ? hash [no test files]
    ok hash/adler32 0.118s
    ok hash/crc32 0.050s
    ok hash/crc64 0.050s
    ok hash/fnv 0.051s
    ok html 0.058s
    ok html/template 0.375s
    ok image 0.582s
    ok image/color 0.100s
    ok image/draw 0.204s
    ? image/gif [no test files]
    ok image/jpeg 0.958s
    ok image/png 0.374s
    ok index/suffixarray 0.105s
    ok io 0.072s
    ok io/ioutil 0.055s
    ok log 0.065s
    --- FAIL: TestWrite (0.11 seconds)
    syslog_test.go:154: s.Info() = '""', didn't match '"<11>1 %s %s
    syslog_test[%d]: \n"'
    FAIL
    FAIL log/syslog 0.300s
    ok math 0.070s
    ok math/big 3.031s
    ok math/cmplx 0.054s
    ok math/rand 0.240s
    ok mime 0.056s
    ok mime/multipart 0.858s
    ok net 3.828s
    ok net/http 15.872s
    ok net/http/cgi 1.752s
    ok net/http/fcgi 0.099s
    ok net/http/httptest 0.100s
    ok net/http/httputil 0.206s
    ? net/http/pprof [no test files]
    ok net/mail 0.071s
    ok net/rpc 0.470s
    ok net/rpc/jsonrpc 0.125s
    ok net/smtp 0.079s
    ok net/textproto 0.069s
    ok net/url 0.064s
    ok old/netchan 0.151s
    ok os 0.139s
    ok os/exec 2.863s
    ok os/signal 0.052s
    ok os/user 0.060s
    ok path 0.063s
    ok path/filepath 1.143s
    ok reflect 0.206s
    ok regexp 0.695s
    ok regexp/syntax 3.849s
    ok runtime 8.250s
    ? runtime/cgo [no test files]
    ok runtime/debug 0.052s
    ok runtime/pprof 1.613s
    ok sort 0.600s
    ok strconv 3.161s
    ok strings 0.750s
    ok sync 0.362s
    ok sync/atomic 0.144s
    ok syscall 0.125s
    ? testing [no test files]
    ? testing/iotest [no test files]
    ok testing/quick 0.196s
    ok text/scanner 0.067s
    ok text/tabwriter 0.064s
    ok text/template 0.173s
    ok text/template/parse 0.087s
    ok time 4.682s
    ok unicode 0.057s
    ok unicode/utf16 0.051s
    ok unicode/utf8 0.079s
    ? unsafe [no test files]

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupgolang-dev @
categoriesgo
postedDec 3, '12 at 10:50p
activeDec 3, '12 at 11:54p
posts2
users2
websitegolang.org

2 users in discussion

Dave Cheney: 1 post Builder: 1 post

People

Translate

site design / logo © 2022 Grokbase