Flip the order of arguments of setField (#24668)
GHC Proposal 583 "HasField redesign" specifies the following order of a setField function arguments as this: setField :: forall fld a b. SetField fld a b. b -> a -> a This patch flips the application order to match the spec.
Showing
- compiler/GHC/Rename/Expr.hs 3 additions, 2 deletionscompiler/GHC/Rename/Expr.hs
- docs/users_guide/9.14.1-notes.rst 14 additions, 1 deletiondocs/users_guide/9.14.1-notes.rst
- docs/users_guide/exts/overloaded_record_update.rst 2 additions, 2 deletionsdocs/users_guide/exts/overloaded_record_update.rst
- testsuite/tests/parser/should_fail/RecordDotSyntaxFail10.hs 2 additions, 2 deletionstestsuite/tests/parser/should_fail/RecordDotSyntaxFail10.hs
- testsuite/tests/parser/should_fail/RecordDotSyntaxFail13.hs 2 additions, 2 deletionstestsuite/tests/parser/should_fail/RecordDotSyntaxFail13.hs
- testsuite/tests/parser/should_run/RecordDotSyntax1.hs 2 additions, 2 deletionstestsuite/tests/parser/should_run/RecordDotSyntax1.hs
Loading
Please register or sign in to comment