<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/go.git/test/interface/explicit.go, branch dev.garbage</title>
<subtitle>code.google.com: Obsolete (use go-git)
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/go.git/'/>
<entry>
<title>cmd/gc: blank methods are not permitted in interface types</title>
<updated>2014-10-15T16:55:13+00:00</updated>
<author>
<name>Chris Manghane</name>
<email>cmang@golang.org</email>
</author>
<published>2014-10-15T16:55:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/go.git/commit/?id=a5906fdac49996df7009c1ab4c60683df9e1469f'/>
<id>a5906fdac49996df7009c1ab4c60683df9e1469f</id>
<content type='text'>
Fixes issue 6606.

LGTM=rsc
R=rsc
CC=golang-codereviews, gri
https://codereview.appspot.com/156210044
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes issue 6606.

LGTM=rsc
R=rsc
CC=golang-codereviews, gri
https://codereview.appspot.com/156210044
</pre>
</div>
</content>
</entry>
<entry>
<title>cmd/gc: don't attempt to generate wrappers for blank interface methods</title>
<updated>2013-08-19T01:53:34+00:00</updated>
<author>
<name>Anthony Martin</name>
<email>ality@pbrane.org</email>
</author>
<published>2013-08-19T01:53:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/go.git/commit/?id=4ee13979d7c6235a71d84d88494f24a83e3a90e9'/>
<id>4ee13979d7c6235a71d84d88494f24a83e3a90e9</id>
<content type='text'>
Fixes issue 5691.

R=golang-dev, bradfitz, daniel.morsing, rsc
CC=golang-dev
https://codereview.appspot.com/10255047

Committer: Rob Pike &lt;r@golang.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes issue 5691.

R=golang-dev, bradfitz, daniel.morsing, rsc
CC=golang-dev
https://codereview.appspot.com/10255047

Committer: Rob Pike &lt;r@golang.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>cmd/gc: Suggest *T in error for x.(T) if it would work.</title>
<updated>2012-09-01T17:52:55+00:00</updated>
<author>
<name>Daniel Morsing</name>
<email>daniel.morsing@gmail.com</email>
</author>
<published>2012-09-01T17:52:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/go.git/commit/?id=45d9d257565d4f4324a460941cf8d43f1c9244a7'/>
<id>45d9d257565d4f4324a460941cf8d43f1c9244a7</id>
<content type='text'>
Accomplished by synchronizing the formatting of conversion errors between typecheck.c and subr.c

Fixes issue 3984.

R=golang-dev, remyoudompheng, rsc
CC=golang-dev
http://codereview.appspot.com/6500064

Committer: Russ Cox &lt;rsc@golang.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Accomplished by synchronizing the formatting of conversion errors between typecheck.c and subr.c

Fixes issue 3984.

R=golang-dev, remyoudompheng, rsc
CC=golang-dev
http://codereview.appspot.com/6500064

Committer: Russ Cox &lt;rsc@golang.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>cmd/gc: Don't claim type assertion would help when it wont.</title>
<updated>2012-08-15T23:53:06+00:00</updated>
<author>
<name>Daniel Morsing</name>
<email>daniel.morsing@gmail.com</email>
</author>
<published>2012-08-15T23:53:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/go.git/commit/?id=dfb074d49212b4d0ccbe27afc59355873a401bd1'/>
<id>dfb074d49212b4d0ccbe27afc59355873a401bd1</id>
<content type='text'>
Fixes issue 3465.

R=golang-dev, rsc, remyoudompheng, iant
CC=golang-dev
http://codereview.appspot.com/6448097

Committer: Ian Lance Taylor &lt;iant@golang.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes issue 3465.

R=golang-dev, rsc, remyoudompheng, iant
CC=golang-dev
http://codereview.appspot.com/6448097

Committer: Ian Lance Taylor &lt;iant@golang.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>test/interface: document tests</title>
<updated>2012-02-19T06:33:41+00:00</updated>
<author>
<name>Rob Pike</name>
<email>r@golang.org</email>
</author>
<published>2012-02-19T06:33:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/go.git/commit/?id=7daf4ad9d1df5ba715f327270b6ed7f0ce339bdb'/>
<id>7daf4ad9d1df5ba715f327270b6ed7f0ce339bdb</id>
<content type='text'>
Most already had comments (yay); adjusted for consistency.

R=golang-dev, bradfitz
CC=golang-dev
http://codereview.appspot.com/5676102
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Most already had comments (yay); adjusted for consistency.

R=golang-dev, bradfitz
CC=golang-dev
http://codereview.appspot.com/5676102
</pre>
</div>
</content>
</entry>
<entry>
<title>test: use testlib (fourth 100)</title>
<updated>2012-02-17T04:50:37+00:00</updated>
<author>
<name>Russ Cox</name>
<email>rsc@golang.org</email>
</author>
<published>2012-02-17T04:50:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/go.git/commit/?id=919bacb81724be250e3841d23e0cfce20c9c5429'/>
<id>919bacb81724be250e3841d23e0cfce20c9c5429</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
http://codereview.appspot.com/5673079
</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
http://codereview.appspot.com/5673079
</pre>
</div>
</content>
</entry>
<entry>
<title>errchk: allow multiple patterns</title>
<updated>2011-08-16T15:14:26+00:00</updated>
<author>
<name>Russ Cox</name>
<email>rsc@golang.org</email>
</author>
<published>2011-08-16T15:14:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/go.git/commit/?id=7a251687c029ee915573f767f57ab17372b3c134'/>
<id>7a251687c029ee915573f767f57ab17372b3c134</id>
<content type='text'>
// ERROR "pattern1" "pattern2"

means that there has to be one or more
lines matching pattern1 and then excluding
those, there have to be one or more lines
matching pattern2.  So if you expect two
different error messages from a particular
line, writing two separate patterns checks
that both errors are produced.

Also, errchk now flags lines that produce
more errors than expected.  Before, as long as
at least one error matched the pattern, all the
others were ignored.

Revise tests to expect or silence these
additional errors.

R=lvd, r, iant
CC=golang-dev
http://codereview.appspot.com/4869044
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
// ERROR "pattern1" "pattern2"

means that there has to be one or more
lines matching pattern1 and then excluding
those, there have to be one or more lines
matching pattern2.  So if you expect two
different error messages from a particular
line, writing two separate patterns checks
that both errors are produced.

Also, errchk now flags lines that produce
more errors than expected.  Before, as long as
at least one error matched the pattern, all the
others were ignored.

Revise tests to expect or silence these
additional errors.

R=lvd, r, iant
CC=golang-dev
http://codereview.appspot.com/4869044
</pre>
</div>
</content>
</entry>
<entry>
<title>delete float, complex - code changes</title>
<updated>2011-01-20T04:09:00+00:00</updated>
<author>
<name>Russ Cox</name>
<email>rsc@golang.org</email>
</author>
<published>2011-01-20T04:09:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/go.git/commit/?id=ed3592f95664c555d787d87b28ff783b846257e6'/>
<id>ed3592f95664c555d787d87b28ff783b846257e6</id>
<content type='text'>
also:
	cmplx -&gt; complex
	float64(1.0) -&gt; 1.0
	float64(1) -&gt; 1.0

R=gri, r, gri1, r2
CC=golang-dev
http://codereview.appspot.com/3991043
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
also:
	cmplx -&gt; complex
	float64(1.0) -&gt; 1.0
	float64(1) -&gt; 1.0

R=gri, r, gri1, r2
CC=golang-dev
http://codereview.appspot.com/3991043
</pre>
</div>
</content>
</entry>
<entry>
<title>test: Match gccgo error messages.</title>
<updated>2010-09-09T04:03:24+00:00</updated>
<author>
<name>Ian Lance Taylor</name>
<email>iant@golang.org</email>
</author>
<published>2010-09-09T04:03:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/go.git/commit/?id=19c1be2efb7c2f055033192c18ba3f3d8e33d09c'/>
<id>19c1be2efb7c2f055033192c18ba3f3d8e33d09c</id>
<content type='text'>
explicit.go:36:4: error: incompatible types in assignment (need explicit conversion)
explicit.go:41:4: error: incompatible types in assignment (type has no methods)
explicit.go:42:4: error: incompatible types in assignment (need explicit conversion)
explicit.go:45:5: error: incompatible types in assignment (need explicit conversion; missing method ?N?)
explicit.go:48:9: error: invalid type conversion (need explicit conversion; missing method ?N?)
explicit.go:51:4: error: incompatible types in assignment
explicit.go:51:7: error: invalid type conversion (need explicit conversion)
explicit.go:57:10: error: impossible type assertion: type does not implement interface (type has no methods)
explicit.go:62:10: error: impossible type assertion: type does not implement interface (incompatible type for method ?M? (different number of parameters))
explicit.go:67:5: error: incompatible type in initialization (type has no methods)
explicit.go:68:5: error: incompatible type in initialization (incompatible type for method ?M? (different number of parameters))
explicit.go:70:11: error: invalid type conversion (type has no methods)
explicit.go:71:11: error: invalid type conversion (incompatible type for method ?M? (different number of parameters))

R=rsc
CC=golang-dev
http://codereview.appspot.com/2139044
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
explicit.go:36:4: error: incompatible types in assignment (need explicit conversion)
explicit.go:41:4: error: incompatible types in assignment (type has no methods)
explicit.go:42:4: error: incompatible types in assignment (need explicit conversion)
explicit.go:45:5: error: incompatible types in assignment (need explicit conversion; missing method ?N?)
explicit.go:48:9: error: invalid type conversion (need explicit conversion; missing method ?N?)
explicit.go:51:4: error: incompatible types in assignment
explicit.go:51:7: error: invalid type conversion (need explicit conversion)
explicit.go:57:10: error: impossible type assertion: type does not implement interface (type has no methods)
explicit.go:62:10: error: impossible type assertion: type does not implement interface (incompatible type for method ?M? (different number of parameters))
explicit.go:67:5: error: incompatible type in initialization (type has no methods)
explicit.go:68:5: error: incompatible type in initialization (incompatible type for method ?M? (different number of parameters))
explicit.go:70:11: error: invalid type conversion (type has no methods)
explicit.go:71:11: error: invalid type conversion (incompatible type for method ?M? (different number of parameters))

R=rsc
CC=golang-dev
http://codereview.appspot.com/2139044
</pre>
</div>
</content>
</entry>
<entry>
<title>gc: more cleanup</title>
<updated>2010-06-09T18:00:55+00:00</updated>
<author>
<name>Russ Cox</name>
<email>rsc@golang.org</email>
</author>
<published>2010-06-09T18:00:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/go.git/commit/?id=590369866a6d10e4ed036dcb256cbac90faefff7'/>
<id>590369866a6d10e4ed036dcb256cbac90faefff7</id>
<content type='text'>
 * disallow surrogate pair runes.
 * diagnose impossible type assertions
 * eliminate another static buffer.
 * do not overflow lexbuf.
 * add -u flag to disable package unsafe.

R=ken2
CC=golang-dev
http://codereview.appspot.com/1619042
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
 * disallow surrogate pair runes.
 * diagnose impossible type assertions
 * eliminate another static buffer.
 * do not overflow lexbuf.
 * add -u flag to disable package unsafe.

R=ken2
CC=golang-dev
http://codereview.appspot.com/1619042
</pre>
</div>
</content>
</entry>
</feed>
