- Timestamp:
- Dec 4, 2020, 11:39:23 AM (4 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 3c6480b7
- Parents:
- ab0257b9 (diff), a32cbac2 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - Location:
- tests
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/.expect/castError.nast.txt
rab0257b9 r54f89d5 7 7 char Alternatives are: 8 8 Cost ( 1, 0, 0, 0, 0, 0, 0 ): Explicit Cast of: 9 Variable Expression: f: signed int9 Variable Expression: f: double 10 10 ... with resolved type: 11 signed int11 double 12 12 ... to: 13 13 char … … 39 39 40 40 Cost ( 1, 0, 0, 0, 0, 0, 0 ): Explicit Cast of: 41 Variable Expression: f: double41 Variable Expression: f: signed int 42 42 ... with resolved type: 43 double43 signed int 44 44 ... to: 45 45 char -
tests/.expect/castError.oast.txt
rab0257b9 r54f89d5 6 6 with resolved type: 7 7 char Alternatives are: 8 Cost ( 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 8 21 Cost ( 1, 0, 0, 0, 0, 0, 0 ): Explicit Cast of: 9 22 Variable Expression: f: function … … 16 29 ... returning nothing 17 30 18 ... to:19 char20 with resolved type:21 char22 (types:23 char24 )25 Environment:26 27 Cost ( 1, 0, 0, 0, 0, 0, 0 ): Explicit Cast of:28 Variable Expression: f: double29 with resolved type:30 double31 31 ... to: 32 32 char … … 67 67 with resolved type: 68 68 signed int 69 Variable Expression: v: unsigned char69 Variable Expression: v: signed short int 70 70 with resolved type: 71 unsigned char71 signed short int 72 72 with resolved type: 73 unsigned char73 signed short int 74 74 ... to: nothing 75 75 with resolved type: … … 85 85 with resolved type: 86 86 signed int 87 Variable Expression: v: signed short int87 Variable Expression: v: unsigned char 88 88 with resolved type: 89 signed short int89 unsigned char 90 90 with resolved type: 91 signed short int91 unsigned char 92 92 ... to: nothing 93 93 with resolved type: -
tests/errors/.expect/completeType.nast.x64.txt
rab0257b9 r54f89d5 9 9 ... with resolved type: 10 10 void Alternatives are: 11 Cost ( 0, 1, 2, 0, 1, -1, 0 ): Generated Cast of: 12 Application of 13 Variable Expression: *?: forall 14 DT: data type 15 function 16 ... with parameters 17 pointer to instance of type DT (not function type) 18 ... returning 19 reference to instance of type DT (not function type) 20 21 ... with resolved type: 22 pointer to forall 23 [unbound]:data type 24 function 25 ... with parameters 26 pointer to instance of type [unbound] (not function type) 27 ... returning 28 reference to instance of type [unbound] (not function type) 29 30 ... to arguments 31 Variable Expression: x: pointer to instance of struct A without body 32 ... with resolved type: 33 pointer to instance of struct A without body 34 35 ... with resolved type: 36 reference to instance of struct A without body 37 ... to: nothing 38 ... with resolved type: 39 void 40 (types: 41 void 42 ) 43 Environment:([unbound]) -> instance of struct A without body (no widening) 44 45 11 46 Cost ( 0, 1, 2, 0, 1, -1, 0 ): Generated Cast of: 12 47 Application of … … 42 77 ) 43 78 Environment:([unbound]) -> instance of struct B with body (no widening) 44 45 46 Cost ( 0, 1, 2, 0, 1, -1, 0 ): Generated Cast of:47 Application of48 Variable Expression: *?: forall49 DT: data type50 function51 ... with parameters52 pointer to instance of type DT (not function type)53 ... returning54 reference to instance of type DT (not function type)55 56 ... with resolved type:57 pointer to forall58 [unbound]:data type59 function60 ... with parameters61 pointer to instance of type [unbound] (not function type)62 ... returning63 reference to instance of type [unbound] (not function type)64 65 ... to arguments66 Variable Expression: x: pointer to instance of struct A without body67 ... with resolved type:68 pointer to instance of struct A without body69 70 ... with resolved type:71 reference to instance of struct A without body72 ... to: nothing73 ... with resolved type:74 void75 (types:76 void77 )78 Environment:([unbound]) -> instance of struct A without body (no widening)79 79 80 80 -
tests/meta/.expect/archVast.nast.x64.txt
rab0257b9 r54f89d5 7 7 char Alternatives are: 8 8 Cost ( 1, 0, 0, 0, 0, 0, 0 ): Explicit Cast of: 9 Variable Expression: FX64: signed int9 Variable Expression: FX64: double 10 10 ... with resolved type: 11 signed int11 double 12 12 ... to: 13 13 char … … 39 39 40 40 Cost ( 1, 0, 0, 0, 0, 0, 0 ): Explicit Cast of: 41 Variable Expression: FX64: double41 Variable Expression: FX64: signed int 42 42 ... with resolved type: 43 double43 signed int 44 44 ... to: 45 45 char -
tests/meta/.expect/archVast.oast.x64.txt
rab0257b9 r54f89d5 6 6 with resolved type: 7 7 char Alternatives are: 8 Cost ( 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 8 21 Cost ( 1, 0, 0, 0, 0, 0, 0 ): Explicit Cast of: 9 22 Variable Expression: FX64: function … … 16 29 ... returning nothing 17 30 18 ... to:19 char20 with resolved type:21 char22 (types:23 char24 )25 Environment:26 27 Cost ( 1, 0, 0, 0, 0, 0, 0 ): Explicit Cast of:28 Variable Expression: FX64: double29 with resolved type:30 double31 31 ... to: 32 32 char
Note: See TracChangeset
for help on using the changeset viewer.