source: tests/.expect/init1-ERROR.nast.txt@ bb87dd0

ADT arm-eh ast-experimental enum forall-pointer-decay jacob/cs343-translation new-ast-unique-expr pthread-emulation qualifiedEnum stuck-waitfor-destruct
Last change on this file since bb87dd0 was bb87dd0, checked in by Michael Brooks <mlbrooks@…>, 5 years ago

Fixing test init1-ERROR on new ast. Applying equivalent of b81fd95, #189, to new AST.

  • Property mode set to 100644
File size: 1.9 KB
Line 
1init1.cfa:56:1 error: Invalid application of existing declaration(s) in expression Untyped Init Expression
2 Name: rx InitAlternative: reference to signed int
3init1.cfa:57:1 error: Invalid application of existing declaration(s) in expression Untyped Init Expression
4 Name: px InitAlternative: pointer to signed int
5init1.cfa:60:1 error: Invalid application of existing declaration(s) in expression Untyped Init Expression
6 Name: crx InitAlternative: reference to float
7init1.cfa:61:1 error: Invalid application of existing declaration(s) in expression Untyped Init Expression
8 Name: cpx InitAlternative: pointer to float
9init1.cfa:104:1 error: Invalid application of existing declaration(s) in expression Generated Cast of:
10 Name: rx
11... to:
12 reference to signed int
13init1.cfa:107:1 error: Invalid application of existing declaration(s) in expression Applying untyped:
14 Name: ?{}
15...to:
16 Generated Cast of:
17 Variable Expression: _retval_f_py: pointer to signed int
18 ... to:
19 reference to pointer to signed int
20 Name: px
21
22init1.cfa:114:1 error: Invalid application of existing declaration(s) in expression Generated Cast of:
23 Name: crx
24... to:
25 reference to float
26init1.cfa:117:1 error: Invalid application of existing declaration(s) in expression Applying untyped:
27 Name: ?{}
28...to:
29 Generated Cast of:
30 Variable Expression: _retval_f_py2: pointer to float
31 ... to:
32 reference to pointer to float
33 Name: cpx
34
35init1.cfa:124:1 error: Invalid application of existing declaration(s) in expression Generated Cast of:
36 Name: s
37... to:
38 reference to instance of type T (not function type)
39init1.cfa:128:1 error: Invalid application of existing declaration(s) in expression Applying untyped:
40 Name: ?{}
41...to:
42 Generated Cast of:
43 Variable Expression: _retval_anycvt: pointer to instance of type T (not function type)
44 ... to:
45 reference to pointer to instance of type T (not function type)
46 Name: s
47
Note: See TracBrowser for help on using the repository browser.