lloyAlloy on GitHub
--@alloy-ignore
Docs

--@alloy-ignore

Updated

Silences every diagnostic on one line: the compiler's, the lints, and the checker's. On a line of its own it covers the next line that holds code; at the end of a line with code it covers that line. Text after the name is the reason, and nothing reads it back, so write it for the next reader.

--@alloy-ignore the new solver widens this union
local n: number = pick()
local m = t.missing --@alloy-ignore the field arrives at runtime

Use it for a line a tool gets wrong. Where the error is the point, --@alloy-expect-error is the one to reach for: it reports when the line comes clean.