Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
- shouldNotTypecheck :: a -> Assertion
Documentation
shouldNotTypecheck :: a -> Assertion Source
Takes one argument, an expression that should not typecheck. It will fail the test if the expression does typecheck. Requires Deferred Type Errors to be enabled for the file it is called in. See the README for examples and more infomation.