fix(library/compiler/ir_interpreter): --run ignored first argument
This commit is contained in:
parent
c23e6829c0
commit
daae0f67bb
1 changed files with 1 additions and 1 deletions
|
|
@ -682,7 +682,7 @@ public:
|
|||
if (params.size() == 2) { // List String -> IO UInt32
|
||||
lean_object * in = lean_box(0);
|
||||
int i = argc;
|
||||
while (i > 1) {
|
||||
while (i > 0) {
|
||||
i--;
|
||||
lean_object * n = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(n, 0, lean_mk_string(argv[i]));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue