7 Feb
2010
7 Feb
'10
4:24 a.m.
On Sun, Jan 31, 2010 at 10:09:42PM +0300, Serge D. Mechveliani wrote:
I have a suggestion: is it better for GHC to report an error on the source of kind {-# "foo" #-} (entered by a typo instead of {-# SCC "foo" #-}) ? Currently, GHC makes the program under (-prof) in which, the "foo" center occurs skipped. This misleads the user: "foo is not in the profiling head, so it takes zero cost".
6.12.1 will warn: q.hs:3:0: Unrecognised pragma by default. Thanks Ian