Changeset 866545b for tests/.expect/completeTypeError.txt
- Timestamp:
- Jun 6, 2019, 10:23:59 PM (7 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum, stuck-waitfor-destruct
- Children:
- 46438e4
- Parents:
- c6a1e8a (diff), 5684736 (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. - File:
-
- 1 edited
-
tests/.expect/completeTypeError.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tests/.expect/completeTypeError.txt
rc6a1e8a r866545b 8 8 ... to: nothing Alternatives are: 9 9 Cost ( 0, 1, 2, 0, 1, -1, 0 ): Generated Cast of: 10 Application of11 Variable Expression: *?: forall12 DT: object type13 function14 ... with parameters15 intrinsic pointer to instance of type DT (not function type)16 ... returning17 _retval__operator_deref: reference to instance of type DT (not function type)18 ... with attributes:19 Attribute with name: unused10 Application of 11 Variable Expression: *?: forall 12 DT: object type 13 function 14 ... with parameters 15 intrinsic pointer to instance of type DT (not function type) 16 ... returning 17 _retval__operator_deref: reference to instance of type DT (not function type) 18 ... with attributes: 19 Attribute with name: unused 20 20 21 21 22 ... to arguments23 Variable Expression: x: pointer to instance of struct A with body 022 ... to arguments 23 Variable Expression: x: pointer to instance of struct A with body 0 24 24 25 ... to: nothing26 (types:27 void28 )29 Environment:( _82_4_DT ) -> instance of struct A with body 0 (no widening)25 ... to: nothing 26 (types: 27 void 28 ) 29 Environment:( _82_4_DT ) -> instance of struct A with body 0 (no widening) 30 30 31 31 32 32 Cost ( 0, 1, 2, 0, 1, -1, 0 ): Generated Cast of: 33 Application of34 Variable Expression: *?: forall35 DT: object type36 function37 ... with parameters38 intrinsic pointer to instance of type DT (not function type)39 ... returning40 _retval__operator_deref: reference to instance of type DT (not function type)41 ... with attributes:42 Attribute with name: unused33 Application of 34 Variable Expression: *?: forall 35 DT: object type 36 function 37 ... with parameters 38 intrinsic pointer to instance of type DT (not function type) 39 ... returning 40 _retval__operator_deref: reference to instance of type DT (not function type) 41 ... with attributes: 42 Attribute with name: unused 43 43 44 44 45 ... to arguments46 Variable Expression: x: pointer to instance of struct B with body 145 ... to arguments 46 Variable Expression: x: pointer to instance of struct B with body 1 47 47 48 ... to: nothing49 (types:50 void51 )52 Environment:( _82_4_DT ) -> instance of struct B with body 1 (no widening)48 ... to: nothing 49 (types: 50 void 51 ) 52 Environment:( _82_4_DT ) -> instance of struct B with body 1 (no widening) 53 53 54 54 … … 84 84 Name: z 85 85 86 Unsatisfiable alternative:86 Unsatisfiable alternative: 87 87 Cost ( 0, 1, 0, 0, 1, -5, 0 ): Application of 88 Variable Expression: baz: forall89 T: sized object type90 ... with assertions91 ?=?: pointer to function92 ... with parameters93 reference to instance of type T (not function type)94 instance of type T (not function type)95 ... returning96 _retval__operator_assign: instance of type T (not function type)97 ... with attributes:98 Attribute with name: unused88 Variable Expression: baz: forall 89 T: sized object type 90 ... with assertions 91 ?=?: pointer to function 92 ... with parameters 93 reference to instance of type T (not function type) 94 instance of type T (not function type) 95 ... returning 96 _retval__operator_assign: instance of type T (not function type) 97 ... with attributes: 98 Attribute with name: unused 99 99 100 100 101 ?{}: pointer to function102 ... with parameters103 reference to instance of type T (not function type)104 ... returning nothing101 ?{}: pointer to function 102 ... with parameters 103 reference to instance of type T (not function type) 104 ... returning nothing 105 105 106 ?{}: pointer to function107 ... with parameters108 reference to instance of type T (not function type)109 instance of type T (not function type)110 ... returning nothing106 ?{}: pointer to function 107 ... with parameters 108 reference to instance of type T (not function type) 109 instance of type T (not function type) 110 ... returning nothing 111 111 112 ^?{}: pointer to function113 ... with parameters114 reference to instance of type T (not function type)115 ... returning nothing112 ^?{}: pointer to function 113 ... with parameters 114 reference to instance of type T (not function type) 115 ... returning nothing 116 116 117 117 118 function119 ... with parameters120 pointer to instance of type T (not function type)121 ... returning nothing118 function 119 ... with parameters 120 pointer to instance of type T (not function type) 121 ... returning nothing 122 122 123 ... to arguments124 Variable Expression: z: pointer to instance of type T (not function type)123 ... to arguments 124 Variable Expression: z: pointer to instance of type T (not function type) 125 125 126 (types:127 void128 )129 Environment:( _101_0_T ) -> instance of type T (not function type) (no widening)126 (types: 127 void 128 ) 129 Environment:( _101_0_T ) -> instance of type T (not function type) (no widening) 130 130 131 Could not satisfy assertion:131 Could not satisfy assertion: 132 132 ?=?: pointer to function 133 ... with parameters134 reference to instance of type _101_0_T (not function type)135 instance of type _101_0_T (not function type)136 ... returning137 _retval__operator_assign: instance of type _101_0_T (not function type)138 ... with attributes:139 Attribute with name: unused133 ... with parameters 134 reference to instance of type _101_0_T (not function type) 135 instance of type _101_0_T (not function type) 136 ... returning 137 _retval__operator_assign: instance of type _101_0_T (not function type) 138 ... with attributes: 139 Attribute with name: unused 140 140 141 141
Note:
See TracChangeset
for help on using the changeset viewer.