diff options
author | Richard Eisenberg <eir@cis.upenn.edu> | 2015-09-19 15:43:15 -0400 |
---|---|---|
committer | Richard Eisenberg <eir@cis.upenn.edu> | 2015-09-20 21:39:15 -0400 |
commit | 1292c17e61400dfa0c27eddff4bea6a935006657 (patch) | |
tree | 2fd14d31648371f8ec3cfed660ed7634ee306e2b /testsuite/tests/th/T10811.hs | |
parent | 79b8e891d88bd4018e31be042364e314a25fbb41 (diff) | |
download | haskell-1292c17e61400dfa0c27eddff4bea6a935006657.tar.gz |
Allow TH quoting of assoc type defaults.
This fixes #10811.
Diffstat (limited to 'testsuite/tests/th/T10811.hs')
-rw-r--r-- | testsuite/tests/th/T10811.hs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/tests/th/T10811.hs b/testsuite/tests/th/T10811.hs new file mode 100644 index 0000000000..3fac1905d6 --- /dev/null +++ b/testsuite/tests/th/T10811.hs @@ -0,0 +1,7 @@ +{-# LANGUAGE TemplateHaskell, TypeFamilies #-} + +module Bug where + +$([d| class C a where + type F a + type F a = a |]) |