﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
1759	Erroneous warning in function	Martin Sjölund	somebody	"{{{
model M
  function f
    input Real r;
    output Real o := x;
  protected
    Real x := r;
    Real y(start=c);
  algorithm
    o := r;
    o := x;
    o := c;
  end f;
  Real r = sin(time), x = f(time);
  constant Real c = 3.4;
end M;
}}}

Error-message:
{{{
[a.mo:14:3-14:24:writable] Warning: Invalid public variable c, function variables that are not input/output must be protected.
}}}

Which is obviously wrong (c is not part of a function)."	defect	closed	high	1.9.4	Frontend	trunk	fixed		
