diff options
| author | gingerBill <bill@gingerbill.org> | 2021-06-16 11:41:29 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2021-06-16 11:41:29 +0100 |
| commit | 8f57bb07991930f242ec4ab4d9fb3a851a4e9662 (patch) | |
| tree | 8c5c6ed78a4b59663ab0ee89bebb5785f1be4ba6 /src/check_decl.cpp | |
| parent | 84a4188c7214fdf0270f9f835e626fa214a98df0 (diff) | |
Add unreachable detection for deferred statements in a scope which contains a diverging procedure call
```odin
{
defer foo(); // Unreachable defer statement due to diverging procedure call at the end of the current scope
os.exit(0);
}
```
Diffstat (limited to 'src/check_decl.cpp')
0 files changed, 0 insertions, 0 deletions