﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
2724	Return error for non-constructor functions returning external objects	Martin Sjölund	Martin Sjölund	"Code like the following is dangerous, because the Id destructor will be called on function exit (since it is a local variable...). Make the front-end return an error here instead.

{{{#!mo
import Id = ModelicaServices.modcount.HeapString;

function shapeDescrTo3D
  input State state;
  input String descr;
  input Real length, width, height;
  input Real[3] at;
  input Real extra;
  output Id id;
}}}"	defect	closed	high	1.9.1	Frontend	trunk	fixed		
