diff options
Diffstat (limited to 'third_party/bazel/rules_haskell/tests/repl-name-conflicts/PreludeShadowing.hs')
-rw-r--r-- | third_party/bazel/rules_haskell/tests/repl-name-conflicts/PreludeShadowing.hs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/third_party/bazel/rules_haskell/tests/repl-name-conflicts/PreludeShadowing.hs b/third_party/bazel/rules_haskell/tests/repl-name-conflicts/PreludeShadowing.hs new file mode 100644 index 000000000000..02ecd02684ba --- /dev/null +++ b/third_party/bazel/rules_haskell/tests/repl-name-conflicts/PreludeShadowing.hs @@ -0,0 +1,12 @@ +{-# LANGUAGE NoImplicitPrelude #-} +{-# LANGUAGE OverloadedStrings #-} + +module PreludeShadowing where + +import Data.ByteString + +(>>=) :: ByteString -> ByteString -> ByteString +_ >>= _ = "blah" + +stdin :: ByteString +stdin = "stdin" |