From 32f97cc891a6a2857338b4fcc7bb022e609eac1c Mon Sep 17 00:00:00 2001 From: John Clements Date: Tue, 24 Sep 2013 12:02:56 -0700 Subject: [PATCH] comment changes only --- src/libsyntax/ext/expand.rs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/libsyntax/ext/expand.rs b/src/libsyntax/ext/expand.rs index 004a889fb4d..64f30803ca7 100644 --- a/src/libsyntax/ext/expand.rs +++ b/src/libsyntax/ext/expand.rs @@ -1640,9 +1640,10 @@ mod test { macro_rules! user(($x:ident) => ({letty!($x); $x})) fn main() -> int {user!(z)}", ~[~[0]], false), - // FIXME #8062: this test exposes a *potential* bug; our system does - // not behave exactly like MTWT, but I haven't thought of a way that - // this could cause a bug in Rust, yet. + // no longer a fixme #8062: this test exposes a *potential* bug; our system does + // not behave exactly like MTWT, but a conversation with Matthew Flatt + // suggests that this can only occur in the presence of local-expand, which + // we have no plans to support. // ("fn main() {let hrcoo = 19; macro_rules! getx(()=>(hrcoo)); getx!();}", // ~[~[0]], true) // FIXME #6994: the next string exposes the bug referred to in issue 6994, so I'm @@ -1655,6 +1656,7 @@ mod test { // fn a(){g!(z)}" // create a really evil test case where a $x appears inside a binding of $x // but *shouldnt* bind because it was inserted by a different macro.... + // can't write this test case until we have macro-generating macros. ]; for (idx,s) in tests.iter().enumerate() { run_renaming_test(s,idx);