Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Works when let-bound

  • Loading branch information...
commit 867baae455c12487e603d6c4746b59d55908daa3 1 parent 234b3d3
@steshaw authored
Showing with 4 additions and 1 deletion.
  1. +4 −1 haskell/ghcTypeSystemBug.hs
View
5 haskell/ghcTypeSystemBug.hs
@@ -8,4 +8,7 @@
gen :: [forall a. a -> a]
gen = [id]
-test1 = head gen 1
+-- broken
+-- test1 = head gen 1
+
+test2 = let hg = head gen in hg 1
Please sign in to comment.
Something went wrong with that request. Please try again.