From 982c1f494de8a691294a95aee108e765c3f592a0 Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Fri, 21 Sep 2007 16:35:52 +0000 Subject: Move OPTIONS pragmas above comments Fixes building with -Werror (i.e. validate) and GHC < 6.6 --- compiler/utils/BufWrite.hs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'compiler/utils/BufWrite.hs') diff --git a/compiler/utils/BufWrite.hs b/compiler/utils/BufWrite.hs index 6b13b99f98..140d4b2367 100644 --- a/compiler/utils/BufWrite.hs +++ b/compiler/utils/BufWrite.hs @@ -1,3 +1,10 @@ +{-# OPTIONS -w #-} +-- The above warning supression flag is a temporary kludge. +-- While working on this module you are encouraged to remove it and fix +-- any warnings in the module. See +-- http://hackage.haskell.org/trac/ghc/wiki/Commentary/CodingStyle#Warnings +-- for details + ----------------------------------------------------------------------------- -- -- Fast write-buffered Handles @@ -10,13 +17,6 @@ -- ----------------------------------------------------------------------------- -{-# OPTIONS -w #-} --- The above warning supression flag is a temporary kludge. --- While working on this module you are encouraged to remove it and fix --- any warnings in the module. See --- http://hackage.haskell.org/trac/ghc/wiki/Commentary/CodingStyle#Warnings --- for details - module BufWrite ( BufHandle(..), newBufHandle, -- cgit v1.2.1