summaryrefslogtreecommitdiff
path: root/tests/purs/warning/Kind-UnusedExplicitImport-2.purs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/purs/warning/Kind-UnusedExplicitImport-2.purs')
-rw-r--r--tests/purs/warning/Kind-UnusedExplicitImport-2.purs12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/purs/warning/Kind-UnusedExplicitImport-2.purs b/tests/purs/warning/Kind-UnusedExplicitImport-2.purs
new file mode 100644
index 0000000..0c8623e
--- /dev/null
+++ b/tests/purs/warning/Kind-UnusedExplicitImport-2.purs
@@ -0,0 +1,12 @@
+-- @shouldWarnWith UnusedExplicitImport
+module Main where
+
+import Prelude (Unit, unit, pure)
+import Effect (Effect)
+import Type.RowList (RLProxy, kind RowList)
+
+f :: forall l. RLProxy l -> Int
+f _ = 0
+
+main :: Effect Unit
+main = pure unit