Changeset bcb41f7 for tests


Ignore:
Timestamp:
Aug 4, 2024, 12:29:29 AM (4 months ago)
Author:
JiadaL <j82liang@…>
Branches:
master
Children:
2dd5c6d
Parents:
06ecda9
Message:

Update .error as the cost model has changed

Location:
tests
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • tests/.expect/castError.txt

    r06ecda9 rbcb41f7  
    66... with resolved type:
    77  char Alternatives are:
    8 Cost ( 1, 0, 0, 0, 0, 0, 0 ): Explicit Cast of:
     8Cost ( 1, 0, 0, 0, 0, 0, 0, 0 ): Explicit Cast of:
    99      Variable Expression: f: double
    1010      ... with resolved type:
     
    1919  Environment:
    2020
    21 Cost ( 1, 0, 0, 0, 0, 0, 0 ): Explicit Cast of:
     21Cost ( 1, 0, 0, 0, 0, 0, 0, 0 ): Explicit Cast of:
    2222      Variable Expression: f: function
    2323        accepting unspecified arguments
     
    3838  Environment:
    3939
    40 Cost ( 1, 0, 0, 0, 0, 0, 0 ): Explicit Cast of:
     40Cost ( 1, 0, 0, 0, 0, 0, 0, 0 ): Explicit Cast of:
    4141      Variable Expression: f: signed int
    4242      ... with resolved type:
     
    6262... with resolved type:
    6363  void Alternatives are:
    64 Cost ( 0, 0, 2, 0, 0, 0, 0 ): Generated Cast of:
     64Cost ( 0, 0, 0, 2, 0, 0, 0, 0 ): Generated Cast of:
    6565      Comma Expression:
    6666        Constant Expression (3: signed int)
     
    8080  Environment:
    8181
    82 Cost ( 0, 0, 2, 0, 0, 0, 0 ): Generated Cast of:
     82Cost ( 0, 0, 0, 2, 0, 0, 0, 0 ): Generated Cast of:
    8383      Comma Expression:
    8484        Constant Expression (3: signed int)
  • tests/errors/.expect/completeType.x64.txt

    r06ecda9 rbcb41f7  
    99... with resolved type:
    1010  void Alternatives are:
    11 Cost ( 0, 1, 2, 0, 1, -1, 0 ): Generated Cast of:
     11Cost ( 0, 0, 1, 2, 0, 1, -1, 0 ): Generated Cast of:
    1212      Application of
    1313        Variable Expression: *?: forall
     
    4444
    4545
    46 Cost ( 0, 1, 2, 0, 1, -1, 0 ): Generated Cast of:
     46Cost ( 0, 0, 1, 2, 0, 1, -1, 0 ): Generated Cast of:
    4747      Application of
    4848        Variable Expression: *?: forall
     
    111111
    112112      Unsatisfiable alternative:
    113 Cost ( 0, 1, 0, 0, 1, -5, 0 ): Application of
     113Cost ( 0, 0, 1, 0, 0, 1, -5, 0 ): Application of
    114114            Variable Expression: baz: forall
    115115              instance of type T (not function type)
  • tests/meta/.expect/arch.x64.txt

    r06ecda9 rbcb41f7  
    66... with resolved type:
    77  char Alternatives are:
    8 Cost ( 1, 0, 0, 0, 0, 0, 0 ): Explicit Cast of:
     8Cost ( 1, 0, 0, 0, 0, 0, 0, 0 ): Explicit Cast of:
    99      Variable Expression: FX64: double
    1010      ... with resolved type:
     
    1919  Environment:
    2020
    21 Cost ( 1, 0, 0, 0, 0, 0, 0 ): Explicit Cast of:
     21Cost ( 1, 0, 0, 0, 0, 0, 0, 0 ): Explicit Cast of:
    2222      Variable Expression: FX64: function
    2323        accepting unspecified arguments
     
    3838  Environment:
    3939
    40 Cost ( 1, 0, 0, 0, 0, 0, 0 ): Explicit Cast of:
     40Cost ( 1, 0, 0, 0, 0, 0, 0, 0 ): Explicit Cast of:
    4141      Variable Expression: FX64: signed int
    4242      ... with resolved type:
Note: See TracChangeset for help on using the changeset viewer.