Hi Edgar, No, that doesn't exist yet. Would surely be useful, though.
Richard On Oct 19, 2015, at 6:16 PM, Эдгар Жаворонков <[email protected]> wrote: > No, i mean exactly pragmas in source code, that i can particulary add to > function or a part of the code for example. > E.g: > > {-# BEGIN_SUPPRESS_WARNINGS #-} > > foo :: a -> b > #do something that throws warnings > > {-# END_SUPPRESS_WARNINGS #-} > > > > 2015-10-20 1:10 GMT+03:00 Richard Eisenberg <[email protected]>: > I just responded to #602, but perhaps you're just looking for the > -fno-warn-XXX options listed here: > https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/flag-reference.html#idp14879296 > > Richard > > On Oct 19, 2015, at 5:22 PM, Эдгар Жаворонков <[email protected]> wrote: > >> Hi everyone! >> >> Do you know, if there is pragma for warning suppression? I want to implement >> something like warning suppression related to this ticket in GHC's Trac >> (https://ghc.haskell.org/trac/ghc/ticket/602). Or i need to implement that >> kind of pragma by myself? >> >> Thanks in advance! >> Edgar >> _______________________________________________ >> ghc-devs mailing list >> [email protected] >> http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs > >
_______________________________________________ ghc-devs mailing list [email protected] http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
