Opened 7 years ago
Closed 7 years ago
#98 closed defect (fixed)
Duplicate function has no line number
| Reported by: | Thierry Delisle | Owned by: | |
|---|---|---|---|
| Priority: | minor | Component: | cfa-cc |
| Version: | 1.0 | Keywords: | linenumbers |
| Cc: |
Description
trait is_a_thing(otype T) {
T & ?=?( T &, T );
};
forall(otype T | is_a_thing(T))
T foo();
results in an error with no line number:
error: duplicate function definition for ?=?: pointer to function
... with parameters
reference to instance of type T (not function type)
instance of type T (not function type)
... returning
_retval__operator_assign: reference to instance of type T (not function type)
... with attributes:
Attribute with name: unused
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 d53772d: