Opened 8 years ago

Last modified 5 years ago

#10 assigned defect

Inner generic types — at Initial Version

Reported by: Thierry Delisle Owned by: Rob Schluntz
Priority: major Component: cfa-cc
Version: 1.0 Keywords:
Cc:

Description

This code does not work :

forall(otype T, otype E)
struct result {
	bool has_value;
	union {
		T value;
		E error;
	};
};

produces :

In function ‘___constructor__F_P13u__anonymous02tT_autogen___1’:
error: ‘_sizeof_2tT’ undeclared (first use in this function)
note: each undeclared identifier is reported only once for each function it appears in

Change History (0)

Note: See TracTickets for help on using tickets.