chore: remove obsolete code
This commit is contained in:
parent
4250ee1e16
commit
8088145da8
1 changed files with 0 additions and 2 deletions
|
|
@ -82,8 +82,6 @@ def checkScalarVar (x : VarId) : M Unit :=
|
|||
checkVarType x IRType.isScalar
|
||||
|
||||
def checkFullApp (c : FunId) (ys : Array Arg) : M Unit := do
|
||||
if c == `hugeFuel then
|
||||
throw "the auxiliary constant `hugeFuel` cannot be used in code, it is used internally for compiling `partial` definitions"
|
||||
let decl ← getDecl c
|
||||
unless ys.size == decl.params.size do
|
||||
throw s!"incorrect number of arguments to '{c}', {ys.size} provided, {decl.params.size} expected"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue