Opened 7 years ago
Closed 7 years ago
#97 closed defect (fixed)
Missing polymorphic type has no line number
| Reported by: | Thierry Delisle | Owned by: | |
|---|---|---|---|
| Priority: | minor | Component: | cfa-cc |
| Version: | 1.0 | Keywords: | linenumbers |
| Cc: |
Description
The following code:
forall(otype type) {
struct T {
int x, y;
};
T(type) foo() {
return (T){1, 2};
}
produces an error with no line number:
error: Too few type arguments in generic type lvalue instance of struct T with body 1
Change History (1)
comment:1 by , 7 years ago
| Owner: | set to |
|---|---|
| Resolution: | → fixed |
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
In e82ef13: