Opened 7 years ago
Closed 6 years ago
#105 closed defect (fixed)
Compiler crash deleted expression
| Reported by: | Thierry Delisle | Owned by: | Thierry Delisle |
|---|---|---|---|
| Priority: | major | Component: | cfa-cc |
| Version: | 1.0 | Keywords: | |
| Cc: |
Description
This code crashes the compiler :
forall (otype T) {
struct ImVector {
T* Data;
};
static inline void clear( ImVector(T) & this);
}
struct ImGuiStorage {
struct Pair {
union { int val_i; float val_f; void* val_p; };
};
ImVector(Pair) Data;
};
void Clear(ImGuiStorage & this) { clear(this.Data); }
Change History (2)
comment:1 by , 6 years ago
| Owner: | set to |
|---|---|
| Status: | new → accepted |
comment:2 by , 6 years ago
| Resolution: | → fixed |
|---|---|
| Status: | accepted → closed |
Note:
See TracTickets
for help on using tickets.
Works in 74e3263a69959dbaa545f9872a29b122d61fd953