Opened 12 years ago
Closed 12 years ago
#1776 closed defect (fixed)
Add detection of usage of unbound variables
Reported by: | Martin Sjölund | Owned by: | Martin Sjölund |
---|---|---|---|
Priority: | high | Milestone: | 1.9.0 |
Component: | Frontend | Version: | |
Keywords: | Cc: | adabe588@…, Jens.Frenkel@… |
Description
We need to add detection of usage of unbound variables
protected Real r; algorithm x := f(r); // Detect me and show a warning
The major design decision here is to choose to detect variables that may be unbound or only those that must be unbound (how to merge branches).
Change History (5)
comment:1 by , 12 years ago
Cc: | added; removed |
---|
comment:2 by , 12 years ago
Cc: | added; removed |
---|
comment:3 by , 12 years ago
Cc: | added; removed |
---|
comment:4 by , 12 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:5 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Fixed in r12733. We now print a warning saying this is bad.
Note:
See TracTickets
for help on using tickets.
How the hell do you CC Jens you stupid little trac D: