summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci.debugger/scripts/break006.stderr
blob: 705e9b359c49e9c8a4e2979cada304d5aed75f25 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26

<interactive>:4:1: error: [GHC-39999]
    • No instance for ‘Show a’ arising from a use of ‘print’
      Cannot resolve unknown runtime type ‘a’
      Use :print or :force to determine these types
      Relevant bindings include it :: a (bound at <interactive>:4:1)
      Potentially matching instances:
        instance Show Ordering -- Defined in ‘GHC.Show’
        instance Show a => Show (Maybe a) -- Defined in ‘GHC.Show’
        ...plus 25 others
        ...plus 13 instances involving out-of-scope types
        (use -fprint-potential-instances to see them all)
    • In a stmt of an interactive GHCi command: print it

<interactive>:6:1: error: [GHC-39999]
    • No instance for ‘Show a’ arising from a use of ‘print’
      Cannot resolve unknown runtime type ‘a’
      Use :print or :force to determine these types
      Relevant bindings include it :: a (bound at <interactive>:6:1)
      Potentially matching instances:
        instance Show Ordering -- Defined in ‘GHC.Show’
        instance Show a => Show (Maybe a) -- Defined in ‘GHC.Show’
        ...plus 25 others
        ...plus 13 instances involving out-of-scope types
        (use -fprint-potential-instances to see them all)
    • In a stmt of an interactive GHCi command: print it