Ticket #614 (closed defect: fixed)
Constant folding fails for math on bool values
| Reported by: | scoder | Owned by: | scoder |
|---|---|---|---|
| Priority: | minor | Milestone: | 0.14 |
| Component: | Type Analysis | Keywords: | |
| Cc: |
Description
Constant folding messes up types in some cases, e.g.
x = False + False
sets x to False instead of 0.
Change History
Note: See
TracTickets for help on using
tickets.
