SD0115
On this page

SD0115

Core code

a branch body returned a value, which a branch cannot carry out

No "use typeshade" program on this site raises this code, so the page has no example. The fn() builder builds the IR directly and reaches the check at the lines under Source.

The registry text and every compiler message on these pages are the compiler's own English.

How to fix it

The registry's hint: an If/elif/else body is a statement block: write Return(value) for an early return, when(cond, () => a, () => b) for a value, or assign to a Var

See also

Source

Where the compiler raises this code at commit 26de7be8, one line per file:

Edit this page Report a problem