
#15220: ScopedTypeVariables binds a non-existent variable -------------------------------------+------------------------------------- Reporter: goldfire | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: 8.8.1 Component: Compiler | Version: 8.5 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by goldfire): The semantics of `TyVarTv` (né `SigTv`) state that a `TyVarTv` unifies only with another variable. `Any` is not a variable, and so a `TyVarTv` should not unify to it. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15220#comment:10 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler