Ticket #5229: 0003-Added-DatatypeContexts-extension-to-tcrun029.patch

File 0003-Added-DatatypeContexts-extension-to-tcrun029.patch, 0.9 KB (added by daniel.is.fischer, 2 years ago)
  • tests/ghc-regress/typecheck/should_run/tcrun029.hs

    From cc5d269719ef3ccc50e008b29c64b677048c240c Mon Sep 17 00:00:00 2001
    From: Daniel Fischer <daniel.is.fischer@googlemail.com>
    Date: Sun, 29 May 2011 22:44:17 +0200
    Subject: [PATCH 3/4] Added DatatypeContexts extension to tcrun029
    
    ---
     tests/ghc-regress/typecheck/should_run/tcrun029.hs |    3 ++-
     1 files changed, 2 insertions(+), 1 deletions(-)
    
    diff --git a/tests/ghc-regress/typecheck/should_run/tcrun029.hs b/tests/ghc-regress/typecheck/should_run/tcrun029.hs
    index 53c67e5..f2aadab 100644
    a b  
     1{-# LANGUAGE DatatypeContexts #-} 
    12-- Killed GHC 5.02.3 
    23 
    34-- Confusion about whether the wrapper for a data constructor 
     
    2526                              left=None, 
    2627                              right=None} 
    2728 
    28 main = print (insert 1 2 None) 
    29  No newline at end of file 
     29main = print (insert 1 2 None)