Skip to content
Snippets Groups Projects
Commit 6a173f81 authored by Simon Peyton Jones's avatar Simon Peyton Jones
Browse files

[project @ 2000-07-18 14:46:48 by simonpj]

Add type-sig test
parent 5662e0a1
No related merge requests found
-- !!! Check that type signatures and pragmas that
-- !!! don't have a "parent" are correctly reported
module ShouldFail where
-- Top level test
f :: Int -> Int
{-# INLINE f #-}
-- Nested test
h :: Int -> Int -- This one is ok
h x = x
where
g :: Int -> Int -- Bogus
rnfail023.hs:7: Variable not in scope: `f'
rnfail023.hs:8: Variable not in scope: `f'
rnfail023.hs:14: Variable not in scope: `g'
Compilation had errors
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment