aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSunil Nimmagadda <sunil@nimmagadda.net>2026-11-04 18:18:03 +0530
committerSunil Nimmagadda <sunil@nimmagadda.net>2026-11-04 18:18:03 +0530
commit6ef04be38ecd0d3b7a61f315bdf30ee7e16fd950 (patch)
treeaa886ed3e76815934738bf0330e85fd8ea5d6656
parent47f5952914aa5c6f77c91aef94b6adf226373363 (diff)
Leave another TODO.
-rw-r--r--elf/header.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/elf/header.lua b/elf/header.lua
index 50b9192..ca50391 100644
--- a/elf/header.lua
+++ b/elf/header.lua
@@ -50,6 +50,7 @@ local M = {}
---@param hdropts HeaderOptions
---@return Header
function M.normalize(hdropts)
+ -- TODO drop these error() and return, let callers report.
if not hdropts.class then error("class is required in header", 3) end
if not hdropts.data then error("data is required in header", 3) end
if not hdropts.type then error("type is required in header", 3) end