1{-# OPTIONS_GHC -fdefer-type-errors #-}
3module JRecShouldNotTypecheckSpec (spec) where
5import Control.Lens ((&), (.~), (^.))
8import Test.ShouldNotTypecheck
13 describe "insert" $ do
14 it "type-check fails if field already exists" $ do
15 shouldNotTypecheck ((#a := '1') `insert` Rec (#b := '2', #a := '0'))
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list