Skip to content

Commit

Permalink
[DEBUG] Start debugging segfault on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
asynchroza committed Nov 20, 2023
1 parent 87c82fc commit 8a00055
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/interpreter-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,8 @@ jobs:
- name: Build interpreter
run: make build

- name: Run interpreter
run: bin/nulascript examples/loops.nula

- name: Run functional tests
run: make test-interpreter
1 change: 1 addition & 0 deletions examples/closures.nula
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ def closure = func(name) {
}
}

log("HERE")
def greet = closure("Misho");

log(greet(true)); # we expect the result to be "Hello Misho!"
Expand Down

0 comments on commit 8a00055

Please sign in to comment.