Opened 8 years ago
Closed 8 years ago
#58 closed defect (fixed)
typo in generic type instantiation crashes the compiler
| Reported by: | Thierry Delisle | Owned by: | |
|---|---|---|---|
| Priority: | minor | Component: | cfa-cc |
| Version: | 1.0 | Keywords: | |
| Cc: |
Description
This code crashes the compiler because of "typet_t" instead of "type_t"
forall(dtype T | sized(T))
struct wrapper{
T * ptr;
int size;
};
typedef long long int type_t;
struct outer {
wrapper(typet_t) w;
};
Change History (2)
comment:1 by , 8 years ago
| Summary: | typo crashes the compiler → typo in generic type instantiation crashes the compiler |
|---|
comment:2 by , 8 years ago
| Owner: | set to |
|---|---|
| Resolution: | → fixed |
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
In 48fa824: