4 fail_compilation/fail2456.d(14): Error: cannot put `scope(success)` statement inside `finally` block
14 scope(success
) {} // NG
21 fail_compilation/fail2456.d(31): Error: cannot put `scope(failure)` statement inside `finally` block
31 scope(failure
) {} // NG
54 fail_compilation/fail2456.d(64): Error: cannot put `scope(success)` statement inside `scope(success)`
55 fail_compilation/fail2456.d(65): Error: cannot put `scope(failure)` statement inside `scope(success)`
56 fail_compilation/fail2456.d(78): Error: cannot put `scope(success)` statement inside `scope(exit)`
57 fail_compilation/fail2456.d(79): Error: cannot put `scope(failure)` statement inside `scope(exit)`
64 scope(success
) {} // NG
65 scope(failure
) {} // NG
71 scope(success
) {} // OK
72 scope(failure
) {} // OK
78 scope(success
) {} // NG
79 scope(failure
) {} // NG
87 fail_compilation/fail2456.d(96): Error: cannot put `catch` statement inside `scope(success)`
88 fail_compilation/fail2456.d(108): Error: cannot put `catch` statement inside `scope(exit)`
96 catch (Throwable
) {} // NG
102 catch (Throwable
) {} // OK
108 catch (Throwable
) {} // NG
115 fail_compilation/fail2456.d(121): Deprecation: can only catch mutable or const qualified types, not `immutable(Exception)`
120 throw new Exception("");
121 } catch (immutable Exception e
) {