source: tests/raii/.expect/ctor-autogen-ERR1.nast.txt @ aa88cb9a

ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
Last change on this file since aa88cb9a was 3e5dd913, checked in by Fangren Yu <f37yu@…>, 4 years ago

reimplement function type and eliminate deep copy

  • Property mode set to 100644
File size: 2.9 KB
RevLine 
[b9afb1e]1raii/ctor-autogen.cfa:102:1 error: Unique best alternative includes deleted identifier in Generated Cast of:
[0a75b77]2  Application of
3    Deleted Expression
4      Variable Expression: ?{}: static inline function
5      ... with parameters
[191702d]6        reference to instance of struct Managed with body
7        signed int
[107b01a]8      ... returning nothing
[b93a3de]9
[cd6a6ff]10      ... with resolved type:
11        function
12        ... with parameters
13          reference to instance of struct Managed with body
14          signed int
15        ... returning nothing
16
[0a75b77]17      ... deleted by: ?{}: function
18      ... with parameters
[191702d]19        reference to instance of struct Managed with body
[107b01a]20      ... returning nothing
[191702d]21 with body
22        Compound Statement:
[0a75b77]23          Expression Statement:
24            Application of
25              Variable Expression: ?=?: function
26              ... with parameters
[191702d]27                reference to signed int
28                signed int
[107b01a]29              ... returning
[191702d]30                signed int
[0a75b77]31
[cd6a6ff]32              ... with resolved type:
33                pointer to function
34                ... with parameters
35                  reference to signed int
36                  signed int
37                ... returning
38                  signed int
39
[191702d]40              ... to arguments
[b9afb1e]41              Generated Cast of:
[107b01a]42                Member Expression, with field:
[0a75b77]43                  x: signed int
[107b01a]44                ... from aggregate:
[b9afb1e]45                  Generated Cast of:
[191702d]46                    Variable Expression: m: reference to instance of struct Managed with body
[cd6a6ff]47                    ... with resolved type:
48                      reference to instance of struct Managed with body
[0a75b77]49                  ... to:
[191702d]50                    instance of struct Managed with body
[cd6a6ff]51                  ... with resolved type:
52                    instance of struct Managed with body
53                ... with resolved type:
54                  signed int
[0a75b77]55              ... to:
56                reference to signed int
[cd6a6ff]57              ... with resolved type:
58                reference to signed int
[b9afb1e]59              Generated Cast of:
[191702d]60                Constant Expression (0: zero_t)
[cd6a6ff]61                ... with resolved type:
62                  zero_t
[0a75b77]63              ... to:
64                signed int
[cd6a6ff]65              ... with resolved type:
66                signed int
[0a75b77]67
[cd6a6ff]68            ... with resolved type:
69              signed int
[0a75b77]70            ... with environment:
71              Types:
72
73
[191702d]74    ... to arguments
[b9afb1e]75    Generated Cast of:
[191702d]76      Variable Expression: x: instance of struct Managed with body
[cd6a6ff]77      ... with resolved type:
78        instance of struct Managed with body
[0a75b77]79    ... to:
[191702d]80      reference to instance of struct Managed with body
[cd6a6ff]81    ... with resolved type:
82      reference to instance of struct Managed with body
[191702d]83    Constant Expression (123: signed int)
[cd6a6ff]84    ... with resolved type:
85      signed int
[0a75b77]86
[cd6a6ff]87  ... with resolved type:
88    void
[0a75b77]89... to: nothing
[cd6a6ff]90... with resolved type:
91  void
Note: See TracBrowser for help on using the repository browser.