Skip to content

Commit 32f97cc

Browse files
committed
comment changes only
1 parent 7535479 commit 32f97cc

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/libsyntax/ext/expand.rs

+5-3
Original file line numberDiff line numberDiff line change
@@ -1640,9 +1640,10 @@ mod test {
16401640
macro_rules! user(($x:ident) => ({letty!($x); $x}))
16411641
fn main() -> int {user!(z)}",
16421642
~[~[0]], false),
1643-
// FIXME #8062: this test exposes a *potential* bug; our system does
1644-
// not behave exactly like MTWT, but I haven't thought of a way that
1645-
// this could cause a bug in Rust, yet.
1643+
// no longer a fixme #8062: this test exposes a *potential* bug; our system does
1644+
// not behave exactly like MTWT, but a conversation with Matthew Flatt
1645+
// suggests that this can only occur in the presence of local-expand, which
1646+
// we have no plans to support.
16461647
// ("fn main() {let hrcoo = 19; macro_rules! getx(()=>(hrcoo)); getx!();}",
16471648
// ~[~[0]], true)
16481649
// FIXME #6994: the next string exposes the bug referred to in issue 6994, so I'm
@@ -1655,6 +1656,7 @@ mod test {
16551656
// fn a(){g!(z)}"
16561657
// create a really evil test case where a $x appears inside a binding of $x
16571658
// but *shouldnt* bind because it was inserted by a different macro....
1659+
// can't write this test case until we have macro-generating macros.
16581660
];
16591661
for (idx,s) in tests.iter().enumerate() {
16601662
run_renaming_test(s,idx);

0 commit comments

Comments
 (0)