Changeset ca9d65e for tests


Ignore:
Timestamp:
Dec 14, 2023, 9:05:55 PM (5 months ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
master
Children:
19a2890
Parents:
21ad568
Message:

second attempt at simplifying SemanticError? messages

Location:
tests
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • tests/.expect/typedefRedef-ERR1.txt

    r21ad568 rca9d65e  
    11typedefRedef.cfa:75:25: warning: Compiled
    2 typedefRedef.cfa:4:1 error: Cannot redefine typedef: Foo
    3 typedefRedef.cfa:31:1 error: Cannot redefine typedef: ARR
    4 typedefRedef.cfa:65:1 error: Cannot redefine typedef: ARR
     2typedefRedef.cfa:4:1 error: Cannot redefine typedef Foo
     3typedefRedef.cfa:31:1 error: Cannot redefine typedef ARR
     4typedefRedef.cfa:65:1 error: Cannot redefine typedef ARR
  • tests/concurrency/.expect/ctor-check.txt

    r21ad568 rca9d65e  
    1 concurrency/ctor-check.cfa:11:1 error: constructors cannot have mutex parameters
    2 ?{}: function
     1concurrency/ctor-check.cfa:11:1 error: constructors cannot have mutex parameters ?{}: function
    32... with parameters
    43  this: mutex reference to instance of struct Empty with body
  • tests/exceptions/.expect/try-ctrl-flow.txt

    r21ad568 rca9d65e  
    1 exceptions/try-ctrl-flow.cfa:7:1 error: 'break' outside a loop, 'switch', or labelled block
    2 exceptions/try-ctrl-flow.cfa:15:1 error: 'break' outside a loop, 'switch', or labelled block
    3 exceptions/try-ctrl-flow.cfa:23:1 error: 'break' outside a loop, 'switch', or labelled block
    4 exceptions/try-ctrl-flow.cfa:31:1 error: 'continue' target must be an enclosing loop:
    5 exceptions/try-ctrl-flow.cfa:48:1 error: 'break' target must be an enclosing control structure: mainLoop
    6 exceptions/try-ctrl-flow.cfa:56:1 error: 'continue' target must be an enclosing loop: mainLoop
    7 exceptions/try-ctrl-flow.cfa:65:1 error: 'break' outside a loop, 'switch', or labelled block
    8 exceptions/try-ctrl-flow.cfa:76:1 error: 'break' outside a loop, 'switch', or labelled block
    9 exceptions/try-ctrl-flow.cfa:87:1 error: 'fallthrough' must be enclosed in a 'switch' or 'choose'
    10 exceptions/try-ctrl-flow.cfa:98:1 error: 'break' target must be an enclosing control structure: mainBlock
    11 exceptions/try-ctrl-flow.cfa:111:1 error: 'fallthrough' must be enclosed in a 'switch' or 'choose'
    12 exceptions/try-ctrl-flow.cfa:124:1 error: 'fallthrough' must be enclosed in a 'switch' or 'choose'
    13 exceptions/try-ctrl-flow.cfa:133:1 error: 'return' may not appear in a finally clause
    14 exceptions/try-ctrl-flow.cfa:139:1 error: 'return' may not appear in a finally clause
    15 exceptions/try-ctrl-flow.cfa:148:1 error: 'break' outside a loop, 'switch', or labelled block
    16 exceptions/try-ctrl-flow.cfa:159:1 error: 'return' may not appear in a try statement with a catch clause
    17 exceptions/try-ctrl-flow.cfa:187:1 error: 'return' may not appear in a catch clause
    18 exceptions/try-ctrl-flow.cfa:195:1 error: 'return' may not appear in a catchResume clause
     1exceptions/try-ctrl-flow.cfa:7:1 error: "break" outside a loop, "switch", or labelled block
     2exceptions/try-ctrl-flow.cfa:15:1 error: "break" outside a loop, "switch", or labelled block
     3exceptions/try-ctrl-flow.cfa:23:1 error: "break" outside a loop, "switch", or labelled block
     4exceptions/try-ctrl-flow.cfa:31:1 error: "continue" target must be an enclosing loop:
     5exceptions/try-ctrl-flow.cfa:48:1 error: "break" target must be an enclosing control structure: mainLoop
     6exceptions/try-ctrl-flow.cfa:56:1 error: "continue" target must be an enclosing loop: mainLoop
     7exceptions/try-ctrl-flow.cfa:65:1 error: "break" outside a loop, "switch", or labelled block
     8exceptions/try-ctrl-flow.cfa:76:1 error: "break" outside a loop, "switch", or labelled block
     9exceptions/try-ctrl-flow.cfa:87:1 error: "fallthrough" must be enclosed in a "switch" or "choose"
     10exceptions/try-ctrl-flow.cfa:98:1 error: "break" target must be an enclosing control structure: mainBlock
     11exceptions/try-ctrl-flow.cfa:111:1 error: "fallthrough" must be enclosed in a "switch" or "choose"
     12exceptions/try-ctrl-flow.cfa:124:1 error: "fallthrough" must be enclosed in a "switch" or "choose"
     13exceptions/try-ctrl-flow.cfa:133:1 error: "return" may not appear in a finally clause
     14exceptions/try-ctrl-flow.cfa:139:1 error: "return" may not appear in a finally clause
     15exceptions/try-ctrl-flow.cfa:148:1 error: "break" outside a loop, "switch", or labelled block
     16exceptions/try-ctrl-flow.cfa:159:1 error: "return" may not appear in a try statement with a catch clause
     17exceptions/try-ctrl-flow.cfa:187:1 error: "return" may not appear in a catch clause
     18exceptions/try-ctrl-flow.cfa:195:1 error: "return" may not appear in a catchResume clause
  • tests/raii/.expect/dtor-early-exit-ERR1.txt

    r21ad568 rca9d65e  
    1 raii/dtor-early-exit.cfa:150:1 error: jump to label 'L1' crosses initialization of y Branch (Goto)
    2   with target: L1
    3   with original target: L1
    4 
     1raii/dtor-early-exit.cfa:150:1 error: jump to label "L1" crosses initialization of "y".
  • tests/raii/.expect/dtor-early-exit-ERR2.txt

    r21ad568 rca9d65e  
    1 raii/dtor-early-exit.cfa:214:1 error: jump to label 'L2' crosses initialization of y Branch (Goto)
    2   with target: L2
    3   with original target: L2
    4 
     1raii/dtor-early-exit.cfa:214:1 error: jump to label "L2" crosses initialization of "y".
Note: See TracChangeset for help on using the changeset viewer.