aboutsummaryrefslogtreecommitdiff
path: root/src/Type.zig
diff options
context:
space:
mode:
authormlugg <mlugg@mlugg.co.uk>2024-08-17 12:18:51 +0100
committerJacob Young <jacobly0@users.noreply.github.com>2024-08-17 18:50:10 -0400
commitf0374fe3f04925a6e686077c2ffcb51b8eafc926 (patch)
tree04156c9a729b5029a3682ff25fef088156addfdd /src/Type.zig
parent9e6318a4ea042e3fab7a1b2347600cde3d804e1a (diff)
downloadzig-f0374fe3f04925a6e686077c2ffcb51b8eafc926.tar.gz
zig-f0374fe3f04925a6e686077c2ffcb51b8eafc926.zip
Compilation: simplify `totalErrorCount`
This function now has to allocate anyway to resolve references, so we may as well just build the error bundle and check its length. Also remove some unnecessary calls of this function for efficiency.
Diffstat (limited to 'src/Type.zig')
0 files changed, 0 insertions, 0 deletions