summaryrefslogtreecommitdiff
path: root/testsuite/tests/deSugar/should_compile/ds041.stderr
blob: 125d364a064b322b833005f550fa0907bb27d2a6 (plain)
1
2
3
4
5
6
7
8
9

ds041.hs:1:14: warning: [-Wdeprecated-flags (in -Wdefault)]
    -XDatatypeContexts is deprecated: It was widely considered a misfeature, and has been removed from the Haskell language.

ds041.hs:16:7: warning: [GHC-20125] [-Wmissing-fields (in -Wdefault)]
    • Fields of ‘Foo’ not initialised:
        x :: a
    • In the expression: Foo {}
      In an equation for ‘foo’: foo = Foo {}