Opened 3 years ago

Closed 19 months 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 Changed 20 months ago by Thierry Delisle

Owner: set to Thierry Delisle
Status: newaccepted

comment:2 Changed 19 months ago by Thierry Delisle

Resolution: fixed
Status: acceptedclosed
Note: See TracTickets for help on using tickets.