Opened 8 years ago
Closed 8 years ago
#2 closed defect (fixed)
Variable Trait Requirements Cannot be Solved with Globals
Reported by: | ajbeach | Owned by: | |
---|---|---|---|
Priority: | minor | Component: | cfa-cc |
Version: | 1.0 | Keywords: | |
Cc: |
Description
Variable assertions in traits cannot be satisfied by global variables.
int max;
trait current_maximum(otype T) {
T max;
};
Int does not satisfy current_maximum.
Change History (2)
comment:1 Changed 8 years ago by
Priority: | major → minor |
---|
comment:2 Changed 8 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Fixed by commit a8e64c4029370bc62f193afaf75b9ad8e7f8a7df