<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/test/run-fail/args-fail.rs, branch release-0.2</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=release-0.2</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=release-0.2'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2011-08-20T18:04:00+00:00</updated>
<entry>
<title>Reformat</title>
<updated>2011-08-20T18:04:00+00:00</updated>
<author>
<name>Brian Anderson</name>
<email>banderson@mozilla.com</email>
</author>
<published>2011-08-19T22:16:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=518dc52f85c2efb67aaa1208c02e9a7e0bdaca49'/>
<id>urn:sha1:518dc52f85c2efb67aaa1208c02e9a7e0bdaca49</id>
<content type='text'>
This changes the indexing syntax from .() to [], the vector syntax from ~[] to
[] and the extension syntax from #fmt() to #fmt[]
</content>
</entry>
<entry>
<title>Remove all xfail-stage0 directives</title>
<updated>2011-08-03T17:55:59+00:00</updated>
<author>
<name>Brian Anderson</name>
<email>banderson@mozilla.com</email>
</author>
<published>2011-08-03T06:46:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c53402846ea7fabe8595c3f50cbc786db16d087a'/>
<id>urn:sha1:c53402846ea7fabe8595c3f50cbc786db16d087a</id>
<content type='text'>
While it is still technically possible to test stage 0, it is not part of any
of the main testing rules and maintaining xfail-stage0 is a chore. Nobody
should worry about how tests fare in stage0.
</content>
</entry>
<entry>
<title>Reformat for new syntax</title>
<updated>2011-07-27T13:54:33+00:00</updated>
<author>
<name>Marijn Haverbeke</name>
<email>marijnh@gmail.com</email>
</author>
<published>2011-07-27T12:19:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=df7f21db093b0f206048b18e977161f91b7c28f1'/>
<id>urn:sha1:df7f21db093b0f206048b18e977161f91b7c28f1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Handle fail as an argument; parse fail expressions unambiguously</title>
<updated>2011-07-03T18:51:47+00:00</updated>
<author>
<name>Tim Chevalier</name>
<email>chevalier@alum.wellesley.edu</email>
</author>
<published>2011-07-03T17:39:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=046c25dbc0c11dcc467c4ff22b8bfbd853976b5b'/>
<id>urn:sha1:046c25dbc0c11dcc467c4ff22b8bfbd853976b5b</id>
<content type='text'>
An expression like:

foo(1, fail, 2)

was failing to parse, because the parser was interpreting the comma
as the start of an expression that was an argument to fail, rather
than recognizing that the fail here has no arguments

Fixed this by using can_begin_expr to determine whether the next
token after a fail token suggests that this is a nullary fail or a
unary fail.

In addition, when translating calls, check before translating each
argument that the block still isn't terminated. This has the effect
that if an argument list includes fail, the back-end won't keep trying
to generate code for successive arguments and trip the !*terminated
assertion.
</content>
</entry>
</feed>
