summaryrefslogtreecommitdiff
path: root/lib/LintWriter.hs
diff options
context:
space:
mode:
authorstuebinm2021-09-20 20:41:31 +0200
committerstuebinm2021-09-20 20:41:31 +0200
commit727f2cbc5feb3cdd30df3c78f39ba4a58e6c4832 (patch)
tree4b70ceeefc5f05b9aecff85488faf471adbcfa4d /lib/LintWriter.hs
parentd3548568e33e830bc2bdb8dc51e48ad880747a12 (diff)
simple parsing of local dependency paths
Diffstat (limited to '')
-rw-r--r--lib/LintWriter.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/LintWriter.hs b/lib/LintWriter.hs
index 120a0f5..dd5ae7d 100644
--- a/lib/LintWriter.hs
+++ b/lib/LintWriter.hs
@@ -64,6 +64,7 @@ lint level = tell . (: []) . hint level
dependsOn :: Dep -> LintWriter ()
dependsOn dep = tell . (: []) $ Depends dep
+
warn = lint Warning
info = lint Info
forbid = lint Forbidden