<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/go-git.git/test/switch.go, branch dev.typealias</title>
<subtitle>github.com: golang/go
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/go-git.git/'/>
<entry>
<title>cmd/gc: disallow fallthrough in final case of switch</title>
<updated>2013-03-15T04:35:09+00:00</updated>
<author>
<name>Tyler Bunnell</name>
<email>tylerbunnell@gmail.com</email>
</author>
<published>2013-03-15T04:35:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/go-git.git/commit/?id=f6a952599e2e9d75b50d1b1252397325111b1a87'/>
<id>f6a952599e2e9d75b50d1b1252397325111b1a87</id>
<content type='text'>
Small change to cmd/gc to catch a "fallthrough" in the final case of a switch.

R=golang-dev, rsc, mtj
CC=golang-dev
https://golang.org/cl/7841043
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Small change to cmd/gc to catch a "fallthrough" in the final case of a switch.

R=golang-dev, rsc, mtj
CC=golang-dev
https://golang.org/cl/7841043
</pre>
</div>
</content>
</entry>
<entry>
<title>cmd/gc: accept cases with same value but different types in switch.</title>
<updated>2013-02-25T23:45:43+00:00</updated>
<author>
<name>Rémy Oudompheng</name>
<email>oudomphe@phare.normalesup.org</email>
</author>
<published>2013-02-25T23:45:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/go-git.git/commit/?id=71b3b460738decbce5f1797492eaa59b06d69687'/>
<id>71b3b460738decbce5f1797492eaa59b06d69687</id>
<content type='text'>
Fixes #4781.

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/7365056
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #4781.

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/7365056
</pre>
</div>
</content>
</entry>
<entry>
<title>test: a number of fixes.</title>
<updated>2013-02-11T23:20:52+00:00</updated>
<author>
<name>Alan Donovan</name>
<email>adonovan@google.com</email>
</author>
<published>2013-02-11T23:20:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/go-git.git/commit/?id=1c1096ea31ed50f3553382ebb81a6a16396e56ec'/>
<id>1c1096ea31ed50f3553382ebb81a6a16396e56ec</id>
<content type='text'>
Details:
- reorder.go: delete p8.
  (Once expectation is changed per b/4627 it is identical to p1.)
- switch.go: added some more (degenerate) switches.
- range.go: improved error messages in a few cases.
- method.go: added tests of calls to promoted methods.

R=iant
CC=golang-dev
https://golang.org/cl/7306087
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Details:
- reorder.go: delete p8.
  (Once expectation is changed per b/4627 it is identical to p1.)
- switch.go: added some more (degenerate) switches.
- range.go: improved error messages in a few cases.
- method.go: added tests of calls to promoted methods.

R=iant
CC=golang-dev
https://golang.org/cl/7306087
</pre>
</div>
</content>
</entry>
<entry>
<title>cmd/gc: add missing conversion from bool to interface in switches.</title>
<updated>2012-09-17T19:29:10+00:00</updated>
<author>
<name>Daniel Morsing</name>
<email>daniel.morsing@gmail.com</email>
</author>
<published>2012-09-17T19:29:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/go-git.git/commit/?id=551e26382385a91cbe9cfc94b1327d29f030f254'/>
<id>551e26382385a91cbe9cfc94b1327d29f030f254</id>
<content type='text'>
In switches without an expression, the compiler would not convert the implicit true to an interface, causing codegen errors.

Fixes #3980.

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/6497147
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In switches without an expression, the compiler would not convert the implicit true to an interface, causing codegen errors.

Fixes #3980.

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/6497147
</pre>
</div>
</content>
</entry>
<entry>
<title>cmd/gc: accept switches on comparable arrays.</title>
<updated>2012-08-03T19:47:26+00:00</updated>
<author>
<name>Rémy Oudompheng</name>
<email>oudomphe@phare.normalesup.org</email>
</author>
<published>2012-08-03T19:47:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/go-git.git/commit/?id=f4f1ba2b1ebb76d4277cd775215ccd12994ffb40'/>
<id>f4f1ba2b1ebb76d4277cd775215ccd12994ffb40</id>
<content type='text'>
The compiler is incorrectly rejecting switches on arrays of
comparable types. It also doesn't catch incomparable structs
when typechecking the switch, leading to unreadable errors
during typechecking of the generated code.

Fixes #3894.

R=rsc
CC=gobot, golang-dev, r, remy
https://golang.org/cl/6442074
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The compiler is incorrectly rejecting switches on arrays of
comparable types. It also doesn't catch incomparable structs
when typechecking the switch, leading to unreadable errors
during typechecking of the generated code.

Fixes #3894.

R=rsc
CC=gobot, golang-dev, r, remy
https://golang.org/cl/6442074
</pre>
</div>
</content>
</entry>
<entry>
<title>test/[n-z]*.go: add documentation</title>
<updated>2012-02-24T00:48:19+00:00</updated>
<author>
<name>Rob Pike</name>
<email>r@golang.org</email>
</author>
<published>2012-02-24T00:48:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/go-git.git/commit/?id=80a9783f842ff5d14fd5e2e5d5a129635a081031'/>
<id>80a9783f842ff5d14fd5e2e5d5a129635a081031</id>
<content type='text'>
R=golang-dev, bradfitz, r
CC=golang-dev
https://golang.org/cl/5700056
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
R=golang-dev, bradfitz, r
CC=golang-dev
https://golang.org/cl/5700056
</pre>
</div>
</content>
</entry>
<entry>
<title>test: use testlib (final 61)</title>
<updated>2012-02-17T04:51:04+00:00</updated>
<author>
<name>Russ Cox</name>
<email>rsc@golang.org</email>
</author>
<published>2012-02-17T04:51:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/go-git.git/commit/?id=57eb06fe93db49501ab61340a1bf41b95a3474b3'/>
<id>57eb06fe93db49501ab61340a1bf41b95a3474b3</id>
<content type='text'>
X ,s;^// \$G (\$D/)?\$F\.go *$;// compile;g
X ,s;^// \$G (\$D/)?\$F\.go &amp;&amp; \$L \$F\.\$A *$;// build;g
X ,s;^// \$G (\$D/)?\$F\.go &amp;&amp; \$L \$F\.\$A &amp;&amp; \./\$A\.out *$;// run;g
X ,s;^// errchk \$G( -e)? (\$D/)?\$F\.go *$;// errorcheck;g

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/5671080
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
X ,s;^// \$G (\$D/)?\$F\.go *$;// compile;g
X ,s;^// \$G (\$D/)?\$F\.go &amp;&amp; \$L \$F\.\$A *$;// build;g
X ,s;^// \$G (\$D/)?\$F\.go &amp;&amp; \$L \$F\.\$A &amp;&amp; \./\$A\.out *$;// run;g
X ,s;^// errchk \$G( -e)? (\$D/)?\$F\.go *$;// errorcheck;g

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/5671080
</pre>
</div>
</content>
</entry>
<entry>
<title>gc: remove func, map compare</title>
<updated>2011-11-14T03:58:08+00:00</updated>
<author>
<name>Russ Cox</name>
<email>rsc@golang.org</email>
</author>
<published>2011-11-14T03:58:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/go-git.git/commit/?id=5bb54b8e9cd810d378397bae464f8933509e62bc'/>
<id>5bb54b8e9cd810d378397bae464f8933509e62bc</id>
<content type='text'>
R=ken, ken
CC=golang-dev
https://golang.org/cl/5373079
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
R=ken, ken
CC=golang-dev
https://golang.org/cl/5373079
</pre>
</div>
</content>
</entry>
<entry>
<title>test: remove semiocolons.</title>
<updated>2010-09-04T00:36:13+00:00</updated>
<author>
<name>Rob Pike</name>
<email>r@golang.org</email>
</author>
<published>2010-09-04T00:36:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/go-git.git/commit/?id=4f61fc96b2788be7cbfc6f7a72acef3d3feeeb6c'/>
<id>4f61fc96b2788be7cbfc6f7a72acef3d3feeeb6c</id>
<content type='text'>
The ken directory is untouched so we have some examples with explicit semis.

R=gri
CC=golang-dev
https://golang.org/cl/2157041
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The ken directory is untouched so we have some examples with explicit semis.

R=gri
CC=golang-dev
https://golang.org/cl/2157041
</pre>
</div>
</content>
</entry>
<entry>
<title>fix "declared and not used" in tests;</title>
<updated>2009-09-15T04:03:53+00:00</updated>
<author>
<name>Russ Cox</name>
<email>rsc@golang.org</email>
</author>
<published>2009-09-15T04:03:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/go-git.git/commit/?id=1a3198907bf18ac961762024cf2a27581e6be6c3'/>
<id>1a3198907bf18ac961762024cf2a27581e6be6c3</id>
<content type='text'>
also template/template.go, missed last time.

R=r
DELTA=116  (61 added, 10 deleted, 45 changed)
OCL=34620
CL=34622
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
also template/template.go, missed last time.

R=r
DELTA=116  (61 added, 10 deleted, 45 changed)
OCL=34620
CL=34622
</pre>
</div>
</content>
</entry>
</feed>
