source: tests/.expect/withconflict.txt @ ecaedf35

Last change on this file since ecaedf35 was 4883712, checked in by Andrew Beach <ajbeach@…>, 12 months ago

Added a test showing how the conflict handling in the with clause currently works.

  • Property mode set to 100644
File size: 1.4 KB
Line 
1withconflict.cfa:16:1 error: Unique best alternative includes deleted identifier in Generated Cast of:
2  Application of
3    Variable Expression: result: function
4    ... with parameters
5      signed int
6      float
7    ... returning nothing
8
9    ... with resolved type:
10      pointer to function
11      ... with parameters
12        signed int
13        float
14      ... returning nothing
15
16    ... to arguments
17    Deleted Expression
18      Member Expression, with field:
19        value: signed int
20      ... from aggregate:
21        Variable Expression: cell: instance of struct Cell with body
22        ... with resolved type:
23          instance of struct Cell with body
24      ... with resolved type:
25        signed int
26      ... deleted by: With statement
27      ... with expressions:
28        Variable Expression: cell: instance of struct Cell with body
29        ... with resolved type:
30          instance of struct Cell with body
31        Variable Expression: cell: instance of struct Cell with body
32        ... with resolved type:
33          instance of struct Cell with body
34      ... with statement:
35        Compound Statement:
36          Expression Statement:
37            Applying untyped:
38              Name: result
39            ...to:
40              Name: value
41              Name: value
42
43
44    Variable Expression: value: float
45    ... with resolved type:
46      float
47
48  ... with resolved type:
49    void
50... to: nothing
51... with resolved type:
52  void
Note: See TracBrowser for help on using the repository browser.