Skip to content

Commit 5af95dc

Browse files
committed
---
yaml --- r: 79243 b: refs/heads/auto c: 62fee04 h: refs/heads/master i: 79241: 6789f99 79239: 4403aac v: v3
1 parent fc80046 commit 5af95dc

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0
1313
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
1414
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
1515
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
16-
refs/heads/auto: 1f8e8564308917efe94663d3577bfe35948b624a
16+
refs/heads/auto: 62fee04ae9f82c1d1fe03c68735ee2b9f69f9b8e
1717
refs/heads/servo: af82457af293e2a842ba6b7759b70288da276167
1818
refs/tags/release-0.6: b4ebcfa1812664df5e142f0134a5faea3918544c
1919
refs/tags/0.1: b19db808c2793fe2976759b85a355c3ad8c8b336

branches/auto/src/libsyntax/ext/expand.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1480,6 +1480,8 @@ mod test {
14801480
let teststrs =
14811481
~[// b & c should get new names throughout, in the expr too:
14821482
@"fn a() -> int { let b = 13; let c = b; b+c }",
1483+
// both x's should be renamed (how is this causing a bug?)
1484+
@"fn main () {let x : int = 13;x;}",
14831485
// the use of b before the + should be renamed, the other one not:
14841486
@"macro_rules! f (($x:ident) => ($x + b)) fn a() -> int { let b = 13; f!(b)}",
14851487
// the b before the plus should not be renamed (requires marks)
@@ -1508,8 +1510,4 @@ mod test {
15081510
assert_eq!(idents, @mut strs_to_idents(~["a","c","b","d"]));
15091511
}
15101512

1511-
/* #[test]
1512-
fn debugging(){
1513-
io::println(fmt!("%?",expand_and_resolve(@~"fn main () { let x : int = 13;}")))
1514-
}*/
15151513
}

0 commit comments

Comments
 (0)