File tree 1 file changed +5
-3
lines changed
1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -1640,9 +1640,10 @@ mod test {
1640
1640
macro_rules! user(($x:ident) => ({letty!($x); $x}))
1641
1641
fn main() -> int {user!(z)}" ,
1642
1642
~[ ~[ 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.
1646
1647
// ("fn main() {let hrcoo = 19; macro_rules! getx(()=>(hrcoo)); getx!();}",
1647
1648
// ~[~[0]], true)
1648
1649
// FIXME #6994: the next string exposes the bug referred to in issue 6994, so I'm
@@ -1655,6 +1656,7 @@ mod test {
1655
1656
// fn a(){g!(z)}"
1656
1657
// create a really evil test case where a $x appears inside a binding of $x
1657
1658
// but *shouldnt* bind because it was inserted by a different macro....
1659
+ // can't write this test case until we have macro-generating macros.
1658
1660
] ;
1659
1661
for ( idx, s) in tests. iter ( ) . enumerate ( ) {
1660
1662
run_renaming_test ( s, idx) ;
You can’t perform that action at this time.
0 commit comments