summaryrefslogtreecommitdiff
path: root/src/Test.hs
diff options
context:
space:
mode:
authorRoman Smrž <roman.smrz@seznam.cz>2026-08-27 20:34:57 +0200
committerRoman Smrž <roman.smrz@seznam.cz>2026-08-27 23:04:38 +0200
commit0cbbe31c5f16df73dcc3a73b37cac4a72948f3a6 (patch)
treef607a68d575ac670b9a637a967eabbe56f9257aa /src/Test.hs
parentd8420a37ffe9e752816b071fced4a972ca1fad23 (diff)
Accept various builtin types in type expressions
Diffstat (limited to 'src/Test.hs')
-rw-r--r--src/Test.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Test.hs b/src/Test.hs
index 33c1cf0..26f5bff 100644
--- a/src/Test.hs
+++ b/src/Test.hs
@@ -30,6 +30,10 @@ data Test = Test
, testSteps :: Expr (TestStep ())
}
+instance ExprType Test where
+ textExprType _ = "Test"
+ textExprValue _ = "<test>"
+
data Tag = Tag ModuleName VarName
deriving (Eq)