Changeset 3233b91


Ignore:
Timestamp:
Dec 3, 2020, 1:53:17 PM (4 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
62e456f
Parents:
2595df1
Message:

Fix left erros in old AST

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • src/ResolvExpr/AlternativeFinder.cc

    r2595df1 r3233b91  
    135135                for(const auto & c : list) {
    136136                        std::stringstream ss;
    137                         print( ss, *c, indentAmt );
     137                        c.print( ss, indentAmt );
    138138                        sorted.push_back(ss.str());
    139139                }
  • tests/.expect/castError.oast.txt

    r2595df1 r3233b91  
    66with resolved type:
    77  char Alternatives are:
     8Cost ( 1, 0, 0, 0, 0, 0, 0 ): Explicit Cast of:
     9      Variable Expression: f: double
     10      with resolved type:
     11        double
     12    ... to:
     13      char
     14    with resolved type:
     15      char
     16  (types:
     17    char
     18  )
     19  Environment:
     20
    821Cost ( 1, 0, 0, 0, 0, 0, 0 ): Explicit Cast of:
    922      Variable Expression: f: function
     
    1629        ... returning nothing
    1730
    18     ... to:
    19       char
    20     with resolved type:
    21       char
    22   (types:
    23     char
    24   )
    25   Environment:
    26 
    27 Cost ( 1, 0, 0, 0, 0, 0, 0 ): Explicit Cast of:
    28       Variable Expression: f: double
    29       with resolved type:
    30         double
    3131    ... to:
    3232      char
     
    6767        with resolved type:
    6868          signed int
    69         Variable Expression: v: unsigned char
     69        Variable Expression: v: signed short int
    7070        with resolved type:
    71           unsigned char
     71          signed short int
    7272      with resolved type:
    73         unsigned char
     73        signed short int
    7474    ... to: nothing
    7575    with resolved type:
     
    8585        with resolved type:
    8686          signed int
    87         Variable Expression: v: signed short int
     87        Variable Expression: v: unsigned char
    8888        with resolved type:
    89           signed short int
     89          unsigned char
    9090      with resolved type:
    91         signed short int
     91        unsigned char
    9292    ... to: nothing
    9393    with resolved type:
  • tests/meta/.expect/archVast.oast.x64.txt

    r2595df1 r3233b91  
    66with resolved type:
    77  char Alternatives are:
     8Cost ( 1, 0, 0, 0, 0, 0, 0 ): Explicit Cast of:
     9      Variable Expression: FX64: double
     10      with resolved type:
     11        double
     12    ... to:
     13      char
     14    with resolved type:
     15      char
     16  (types:
     17    char
     18  )
     19  Environment:
     20
    821Cost ( 1, 0, 0, 0, 0, 0, 0 ): Explicit Cast of:
    922      Variable Expression: FX64: function
     
    1629        ... returning nothing
    1730
    18     ... to:
    19       char
    20     with resolved type:
    21       char
    22   (types:
    23     char
    24   )
    25   Environment:
    26 
    27 Cost ( 1, 0, 0, 0, 0, 0, 0 ): Explicit Cast of:
    28       Variable Expression: FX64: double
    29       with resolved type:
    30         double
    3131    ... to:
    3232      char
Note: See TracChangeset for help on using the changeset viewer.