Closed Mubelotix closed 1 year ago
The produced code should look like
fn t_6517(s: usize, locale: &str) -> &str { let default = ["Hello world!"]; match locale { "fr" => if let Some(t) = [Some("Bonjour le monde!")][s] { return t; }, } return default[s] } html! { <p> t_6517(0, locale); </p> }
The produced code should look like