diff --git a/.github/workflows/interpreter-tests.yaml b/.github/workflows/interpreter-tests.yaml index 96b8fac..e379d02 100644 --- a/.github/workflows/interpreter-tests.yaml +++ b/.github/workflows/interpreter-tests.yaml @@ -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 diff --git a/examples/closures.nula b/examples/closures.nula index 1c94618..9984a40 100644 --- a/examples/closures.nula +++ b/examples/closures.nula @@ -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!"