Opened 8 years ago
Closed 7 years ago
#4 closed defect (fixed)
User-generated constructors for basic types overload non-matching prelude constructors
Reported by: | a3moss | Owned by: | |
---|---|---|---|
Priority: | minor | Component: | cfa-cc |
Version: | 1.0 | Keywords: | |
Cc: |
Description
If you write a constructor like void ?{}( int*, zero_t );
in user code, it hides the default int
constructor in the prelude, and possibly shouldn't.
(That said, over-writing a *matching* prelude constructor should hide it, and I'm not sure if we can effectively differentiate between these cases.)
Change History (1)
comment:1 Changed 7 years ago by
Owner: | set to Rob Schluntz <rschlunt@…> |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
In ff03f5c: