[GHC] #14401: Add a test ensuring that TypeReps can be stored in compact regions

#14401: Add a test ensuring that TypeReps can be stored in compact regions -------------------------------------+------------------------------------- Reporter: dfeuer | Owner: (none) Type: task | Status: new Priority: normal | Milestone: 8.2.2 Component: Test Suite | Version: 8.2.1 Keywords: Typeable | Operating System: Unknown/Multiple Architecture: | Type of failure: None/Unknown Unknown/Multiple | Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- My work thus far on Phab:D4085 has involved `TypeRep`s with cyclical structure. That bit me in `break011` and `break024` because `:force` doesn't work with cyclical structures. This would also have caused trouble for storing `TypeRep`s in compact regions. If we eventually make `:force` work with cyclical structures (see #14400), then cyclical `TypeRep`s won't break the test suite but might break user code using compact regions. So let's test for that. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14401 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#14401: Add a test ensuring that TypeReps can be stored in compact regions -------------------------------------+------------------------------------- Reporter: dfeuer | Owner: (none) Type: task | Status: new Priority: normal | Milestone: 8.2.2 Component: Test Suite | Version: 8.2.1 Resolution: | Keywords: Typeable Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by simonpj): Indeed. But the tail should not wag the dog. We only get a cyclic `TypeRep` in one extremely specialised situation. If that situation causes major problems elsewhere, let's revisit `TypeRep`. E.g. we could have a special `TypeRep` for `TYPE LiftedRep`. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14401#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#14401: Add a test ensuring that TypeReps can be stored in compact regions -------------------------------------+------------------------------------- Reporter: dfeuer | Owner: (none) Type: task | Status: new Priority: normal | Milestone: 8.4.1 Component: Test Suite | Version: 8.2.1 Resolution: | Keywords: Typeable Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * milestone: 8.2.2 => 8.4.1 Comment: None of the TypeRep refinements will be merged until 8.4; bumping. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14401#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC