You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let x = {#![my_attr]do_something()};let x = #[my_attr]{do_something()};
... what you get is this...
let x = {do_something()};let x = #[my_attr]{do_something()};
The second case is just bad formatting due to assuming that the attribute appears on its own line. More concerning is the first case, in which actually meaningful code gets deleted.
The text was updated successfully, but these errors were encountered:
If you pass in input like this...
... what you get is this...
The second case is just bad formatting due to assuming that the attribute appears on its own line. More concerning is the first case, in which actually meaningful code gets deleted.
The text was updated successfully, but these errors were encountered: