Skip to content
Snippets Groups Projects
Commit cfd229b7 authored by Simon Marlow's avatar Simon Marlow
Browse files

[project @ 1997-11-25 11:52:10 by simonm]

Add test for "type constructor used as class name".
parent 581bd312
No related merge requests found
module ShouldFail where
--!!! Using a type constructor as a class name
f :: Integer i => i
f = 0
tcfail078.hs:5: Type constructor used as a class: `Integer'
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