X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;ds=sidebyside;f=compiler%2FndpFlatten%2FPArrAnal.hs;h=f55a97869328cda57b5b782fdb44b5e5e0cf8109;hb=17b297d97d327620ed6bfab942f8992b2446f1bf;hp=2db56221b24d73be2d310bc8e479fff4f414898d;hpb=0065d5ab628975892cea1ec7303f968c3338cbe1;p=ghc-hetmet.git diff --git a/compiler/ndpFlatten/PArrAnal.hs b/compiler/ndpFlatten/PArrAnal.hs index 2db5622..f55a978 100644 --- a/compiler/ndpFlatten/PArrAnal.hs +++ b/compiler/ndpFlatten/PArrAnal.hs @@ -1,3 +1,10 @@ +{-# OPTIONS_GHC -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/WorkingConventions#Warnings +-- for details + -- $Id$ -- -- Copyright (c) 2002 Manuel M T Chakravarty & Gabriele Keller @@ -87,6 +94,10 @@ arrUsage (Note n expr) = arrUsage (Type t) = typeArrayUsage t +-- not quite sure this is right +arrUsage (Cast expr co) = + arrUsage expr + bindType (b, expr) = let bT = varArrayUsage b