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 Martin Sjölund, 12 years ago

Cc: Frenkel+TUD added; Frenkel TUD removed

comment:2 by Martin Sjölund, 12 years ago

Cc: "Frenkel TUD" added; Frenkel+TUD removed

comment:3 by Martin Sjölund, 12 years ago

Cc: Jens.Frenkel@… added; "Frenkel TUD" removed

How the hell do you CC Jens you stupid little trac D:

comment:4 by Martin Sjölund, 12 years ago

Owner: changed from somebody to Martin Sjölund
Status: newassigned

comment:5 by Martin Sjölund, 12 years ago

Resolution: fixed
Status: assignedclosed

Fixed in r12733. We now print a warning saying this is bad.

Note: See TracTickets for help on using tickets.