Simon Jakobi pushed to branch wip/sjakobi/T23414 at Glasgow Haskell Compiler / GHC

Commits:

3 changed files:

Changes:

  • testsuite/tests/patsyn/should_fail/T14114.stderr
    1
    -
    
    2 1
     T14114.hs:4:20: error: [GHC-10498]
    
    3
    -    • Conflicting definitions for 'a'
    
    2
    +    • Conflicting definitions for ‘a’
    
    4 3
           Bound at: T14114.hs:4:20
    
    5 4
                     T14114.hs:4:22
    
    6 5
         • In a pattern synonym declaration
    
    ... ... @@ -12,7 +11,7 @@ T14114.hs:4:20: error: [GHC-10498]
    12 11
       |                      ^
    
    13 12
     
    
    14 13
     T14114.hs:5:20: error: [GHC-10498]
    
    15
    -    • Conflicting definitions for 'a'
    
    14
    +    • Conflicting definitions for ‘a’
    
    16 15
           Bound at: T14114.hs:5:20
    
    17 16
                     T14114.hs:5:22
    
    18 17
         • In a pattern synonym declaration
    
    ... ... @@ -24,7 +23,7 @@ T14114.hs:5:20: error: [GHC-10498]
    24 23
       |                      ^
    
    25 24
     
    
    26 25
     T14114.hs:6:20: error: [GHC-10498]
    
    27
    -    • Conflicting definitions for 'a'
    
    26
    +    • Conflicting definitions for ‘a’
    
    28 27
           Bound at: T14114.hs:6:20
    
    29 28
                     T14114.hs:6:22
    
    30 29
         • In a pattern synonym declaration
    
    ... ... @@ -34,3 +33,4 @@ T14114.hs:6:20: error: [GHC-10498]
    34 33
       |
    
    35 34
     6 | pattern Foo3 a <- (a,a) where
    
    36 35
       |                      ^
    
    36
    +

  • testsuite/tests/rename/should_fail/rnfail004.stderr
    1
    -
    
    2 1
     rnfail004.hs:6:5: error: [GHC-10498]
    
    3
    -    Conflicting definitions for 'a'
    
    2
    +    Conflicting definitions for ‘a’
    
    4 3
         Bound at: rnfail004.hs:6:5
    
    5 4
                   rnfail004.hs:7:10
    
    6 5
       |
    
    ... ... @@ -11,7 +10,7 @@ rnfail004.hs:6:5: error: [GHC-10498]
    11 10
       |          ^
    
    12 11
     
    
    13 12
     rnfail004.hs:7:6: error: [GHC-10498]
    
    14
    -    Conflicting definitions for 'b'
    
    13
    +    Conflicting definitions for ‘b’
    
    15 14
         Bound at: rnfail004.hs:7:6
    
    16 15
                   rnfail004.hs:8:8
    
    17 16
       |
    
    ... ... @@ -20,3 +19,4 @@ rnfail004.hs:7:6: error: [GHC-10498]
    20 19
       |
    
    21 20
     8 |     [d,b,_]     = ([],a,[])
    
    22 21
       |        ^
    
    22
    +

  • testsuite/tests/typecheck/should_fail/tcfail038.stderr
    1
    -
    
    2 1
     tcfail038.hs:7:11: error: [GHC-10498]
    
    3
    -    Conflicting definitions for '=='
    
    2
    +    Conflicting definitions for ==
    
    4 3
         Bound at: tcfail038.hs:7:11-12
    
    5 4
                   tcfail038.hs:9:11-12
    
    6 5
       |
    
    ... ... @@ -11,7 +10,7 @@ tcfail038.hs:7:11: error: [GHC-10498]
    11 10
       |           ^^
    
    12 11
     
    
    13 12
     tcfail038.hs:8:11: error: [GHC-10498]
    
    14
    -    Conflicting definitions for '/='
    
    13
    +    Conflicting definitions for /=
    
    15 14
         Bound at: tcfail038.hs:8:11-12
    
    16 15
                   tcfail038.hs:10:11-12
    
    17 16
        |
    
    ... ... @@ -20,3 +19,4 @@ tcfail038.hs:8:11: error: [GHC-10498]
    20 19
        |
    
    21 20
     10 |         a /= b = True
    
    22 21
        |           ^^
    
    22
    +