summaryrefslogtreecommitdiff
path: root/testsuite/tests/parser/should_fail/RecordDotSyntaxFail0.hs
blob: f7692ec778d1798e11e4c27681c2d19a85516dbb (plain)
1
2
3
4
{-# LANGUAGE OverloadedRecordDot #-}

no = Foo { bar.baz = 1 }
  -- Syntax error: Can't use '.' in construction.