1 | castError.cfa:23:1 error: Cannot choose between 3 alternatives for expression |
---|
2 | Explicit Cast of: |
---|
3 | Name: f |
---|
4 | ... to: |
---|
5 | char |
---|
6 | ... with resolved type: |
---|
7 | char Alternatives are: |
---|
8 | Cost ( 1, 0, 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 | |
---|
21 | Cost ( 1, 0, 0, 0, 0, 0, 0, 0 ): Explicit Cast of: |
---|
22 | Variable Expression: f: function |
---|
23 | ... returning nothing |
---|
24 | |
---|
25 | ... with resolved type: |
---|
26 | pointer to function |
---|
27 | ... returning nothing |
---|
28 | |
---|
29 | ... to: |
---|
30 | char |
---|
31 | ... with resolved type: |
---|
32 | char |
---|
33 | (types: |
---|
34 | char |
---|
35 | ) |
---|
36 | Environment: |
---|
37 | |
---|
38 | Cost ( 1, 0, 0, 0, 0, 0, 0, 0 ): Explicit Cast of: |
---|
39 | Variable Expression: f: signed int |
---|
40 | ... with resolved type: |
---|
41 | signed int |
---|
42 | ... to: |
---|
43 | char |
---|
44 | ... with resolved type: |
---|
45 | char |
---|
46 | (types: |
---|
47 | char |
---|
48 | ) |
---|
49 | Environment: |
---|
50 | |
---|
51 | |
---|
52 | castError.cfa:28:1 error: Cannot choose between 2 alternatives for expression |
---|
53 | Generated Cast of: |
---|
54 | Comma Expression: |
---|
55 | Constant Expression (3: signed int) |
---|
56 | ... with resolved type: |
---|
57 | signed int |
---|
58 | Name: v |
---|
59 | ... to: nothing |
---|
60 | ... with resolved type: |
---|
61 | void Alternatives are: |
---|
62 | Cost ( 0, 0, 0, 2, 0, 0, 0, 0 ): Generated Cast of: |
---|
63 | Comma Expression: |
---|
64 | Constant Expression (3: signed int) |
---|
65 | ... with resolved type: |
---|
66 | signed int |
---|
67 | Variable Expression: v: signed short int |
---|
68 | ... with resolved type: |
---|
69 | signed short int |
---|
70 | ... with resolved type: |
---|
71 | signed short int |
---|
72 | ... to: nothing |
---|
73 | ... with resolved type: |
---|
74 | void |
---|
75 | (types: |
---|
76 | void |
---|
77 | ) |
---|
78 | Environment: |
---|
79 | |
---|
80 | Cost ( 0, 0, 0, 2, 0, 0, 0, 0 ): Generated Cast of: |
---|
81 | Comma Expression: |
---|
82 | Constant Expression (3: signed int) |
---|
83 | ... with resolved type: |
---|
84 | signed int |
---|
85 | Variable Expression: v: unsigned char |
---|
86 | ... with resolved type: |
---|
87 | unsigned char |
---|
88 | ... with resolved type: |
---|
89 | unsigned char |
---|
90 | ... to: nothing |
---|
91 | ... with resolved type: |
---|
92 | void |
---|
93 | (types: |
---|
94 | void |
---|
95 | ) |
---|
96 | Environment: |
---|
97 | |
---|
98 | |
---|
99 | castError.cfa:30:1 error: Invalid application of existing declaration(s) in expression Explicit Cast of: |
---|
100 | Name: sint |
---|
101 | ... to: |
---|
102 | instance of struct S with body |
---|
103 | ... with parameters |
---|
104 | char |
---|
105 | |
---|
106 | ... with resolved type: |
---|
107 | instance of struct S with body |
---|
108 | ... with parameters |
---|
109 | char |
---|
110 | |
---|