mirror of
https://github.com/swarm-game/swarm.git
synced 2024-09-11 14:46:33 +03:00
08730162bd
Fixes #1899. It turned out the problem was not specifically with infinite loop detection but simply any time an exception was thrown and bubbled up to the top level. After logging the exception the CESK machine returned `VUnit` and there was no way for the UI to tell the difference between a computation that ended successfully with value `VUnit` and one with an uncaught exception. This PR adds a new special value `VExc` to denote the result of a computation that threw an exception. The UI can then check for this and not set the `it` variable in that case.
5 lines
233 B
YAML
5 lines
233 B
YAML
loops:
|
|
build: cabal build -j -O0 --ghc-options='-Wall -Werror' all
|
|
test: cabal test -j -O0 --test-show-details=direct swarm:swarm-integration swarm:swarm-unit
|
|
unit: cabal test -j -O0 --test-show-details=direct swarm:swarm-unit
|