diff options
author | Roman Smrž <roman.smrz@seznam.cz> | 2024-08-03 21:36:47 +0200 |
---|---|---|
committer | Roman Smrž <roman.smrz@seznam.cz> | 2024-08-06 21:59:09 +0200 |
commit | 7f35daac6a9b0c4e286f5b4bfc7010f074b52b57 (patch) | |
tree | ffc64a544b7c775bbb23fc526fa5c32626fbb6df /src/Run.hs | |
parent | 06f36e701ad8a036229aa7cbadf4cd47527cdcc2 (diff) |
Test block expression type and statement
Diffstat (limited to 'src/Run.hs')
-rw-r--r-- | src/Run.hs | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -121,6 +121,10 @@ evalSteps = mapM_ $ \case forM_ value $ \i -> do withVar name i $ evalSteps inner + ExprStatement expr -> do + TestBlock steps <- eval expr + evalSteps steps + Subnet name@(TypedVarName vname) parentExpr inner -> do parent <- eval parentExpr withSubnet parent (Just name) $ \net -> do |