soma.cell

E0062: task_called_atomically

E0062 task_called_atomically — a [task] handler called from a plain handler.

A compile-time error of soma check, the checker of the Soma programming language (soma explain E0062).

The rule

A [task] handler called from a plain handler runs inside the caller's atomic unit, so its think() holds the lock and concurrent requests wait. soma check warns about this under the code W0014 (habit_warning), not E0062. Mark the caller as a task too: on handle(q: String) [task] { ... }.

When you see it

soma check reports this rule (kind task_called_atomically) as the warning W0014 habit_warning, never as E0062: the checker files every "habit" issue under W0014.