Ticket #1595 (closed bug: fixed)
duplicate "not in scope" error when giving multiple vars type-signatures at once
| Reported by: | Isaac Dupree | Owned by: | michalt |
|---|---|---|---|
| Priority: | normal | Milestone: | 7.2.1 |
| Component: | Compiler | Version: | 6.6.1 |
| Keywords: | Cc: | michal.terepeta@…, david.waern@… | |
| Operating System: | Unknown/Multiple | Architecture: | Unknown/Multiple |
| Type of failure: | Incorrect warning at compile-time | Difficulty: | Unknown |
| Test Case: | rename/should_fail/T1595 | Blocked By: | |
| Blocking: | Related Tickets: |
Description
(bug in 6.6.1 and 6.7)
a, b :: Integer -> Tpyo a = undefined b = undefined
results in
gw.hs:2:19: Not in scope: type constructor or class `Tpyo' gw.hs:2:19: Not in scope: type constructor or class `Tpyo'
Expected result: only one of the same error per location in file of mistake, not one per function being defined.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

