[commit: ghc] master: Expand declaration QQs first (#10047) (c8f623e)
git at git.haskell.org
git at git.haskell.org
Wed Sep 2 13:39:31 UTC 2015
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/c8f623e305ec0a51ac2406a1f754d244e05b96f5/ghc
>---------------------------------------------------------------
commit c8f623e305ec0a51ac2406a1f754d244e05b96f5
Author: Michael Smith <michael at diglumi.com>
Date: Wed Sep 2 13:57:44 2015 +0200
Expand declaration QQs first (#10047)
Declaration QuasiQuoters do not cause a group split like $(...)
splices, and are run and expanded before other declarations in
the group.
Resolves the lingering issue with #10047, and fixes broken tests
qq007 and qq008.
Test Plan: validate
Reviewers: goldfire, austin, bgamari
Reviewed By: bgamari
Subscribers: goldfire, simonpj, thomie, spinda
Differential Revision: https://phabricator.haskell.org/D1199
GHC Trac Issues: #10047
>---------------------------------------------------------------
c8f623e305ec0a51ac2406a1f754d244e05b96f5
compiler/rename/RnSource.hs | 9 ++++-
compiler/rename/RnSplice.hs-boot | 2 +
docs/users_guide/7.12.1-notes.xml | 47 +++++++++++-----------
docs/users_guide/glasgow_exts.xml | 39 +++++++++++++++++-
testsuite/tests/quasiquotation/qq007/test.T | 1 -
testsuite/tests/quasiquotation/qq008/test.T | 1 -
.../tests/quasiquotation/{qq007 => qq009}/Makefile | 1 -
testsuite/tests/quasiquotation/qq009/QQ.hs | 14 +++++++
testsuite/tests/quasiquotation/qq009/Test.hs | 9 +++++
.../tests/quasiquotation/{qq008 => qq009}/test.T | 3 +-
10 files changed, 94 insertions(+), 32 deletions(-)
Diff suppressed because of size. To see it, use:
git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc c8f623e305ec0a51ac2406a1f754d244e05b96f5
More information about the ghc-commits
mailing list