1 // Test chain formatting.
4 // Don't put chains on a single line if it wasn't so in source.
10 bbbbbbbbbbbbbbbbbbb.ccccccccccccccccccccccccccccccccccccc
11 .ddddddddddddddddddddddddddd();
13 bbbbbbbbbbbbbbbbbbb.ccccccccccccccccccccccccccccccccccccc
14 .ddddddddddddddddddddddddddd
17 // Test case where first chain element isn't a path, but is shorter than
19 x().y(|| match cond() {
24 loong_func().quux(move || if true {
30 some_fuuuuuuuuunction().method_call_a(aaaaa, bbbbb, |c| {
35 some_fuuuuuuuuunction()
36 .method_call_a(aaaaa, bbbbb, |c| {
40 .method_call_b(aaaaa, bbbbb, |c| {
45 fffffffffffffffffffffffffffffffffff(a, {
46 SCRIPT_TASK_ROOT.with(|root| {
47 *root.borrow_mut() = Some(&script_task);
51 let suuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuum = xxxxxxx.map(|x| x + 5)
53 .fold(0, |acc, x| acc + x);
55 aaaaaaaaaaaaaaaa.map(|x| {
59 .filter(some_mod::some_filter)
85 // params are 1-indexed
86 stack.push(mparams[match cur.to_digit(10) {
87 Some(d) => d as usize - 1,
88 None => return Err("bad param number".to_owned()),
126 fn is_replaced_content() -> bool {
127 constellat.send(ConstellationMsg::ViewportConstrained(self.id, constraints))
134 std::mem::transmute(dl.symbol::<()>("init").unwrap())
139 let y = expr.kaas()?.test();
140 let loooooooooooooooooooooooooooooooooooooooooong =
141 does_this?.look?.good?.should_we_break?.after_the_first_question_mark?;
142 let yyyy = expr?.another?.another?.another?.another?.another?.another?.another?.another?.test();
143 let zzzz = expr?.another?.another?.another?.another?;
144 let aaa = x??????????????????????????????????????????????????????????????????????????;
147 .loooooooooooooooooooooooooooooooooooooong()