Ticket #2750 (closed bug: fixed)

Opened 5 years ago

Last modified 4 years ago

Bug in Data.Generics

Reported by: guest Owned by: dreixel
Priority: normal Milestone: 6.10.2
Component: Compiler Version: 6.10.1
Keywords: Cc: lennart@…, jpm@…
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: Difficulty: Unknown
Test Case: Blocked By:
Blocking: Related Tickets:

Description

Observe the following:

Prelude> :m +Data.Generics
Prelude Data.Generics> dataTypeName (dataTypeOf (1,2))
"Prelude.(,)"
Prelude Data.Generics> dataTypeName (dataTypeOf (1,2,3))
"Prelude.(,)"
Prelude Data.Generics> dataTypeName (dataTypeOf (1,2,3,4))
"Prelude.(,,,)"

Probably a pasto in Data.Generics.

Attachments

baseFix2750.patch Download (3.1 KB) - added by dreixel 4 years ago.

Change History

Changed 5 years ago by simonpj

  • cc jpm@… added
  • difficulty set to Unknown
  • owner set to jose magalhaes

Jose Magalhães is taking this.

Simon

Changed 4 years ago by igloo

  • milestone set to 6.10.2

Changed 4 years ago by dreixel

Changed 4 years ago by dreixel

  • owner changed from jose magalhaes to dreixel
  • status changed from new to assigned

Attached patch correcting the typo.

Changed 4 years ago by igloo

  • status changed from assigned to closed
  • resolution set to fixed

Thanks, applied to HEAD and 6.10 branch.

Note: See TracTickets for help on using tickets.