﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
1351	OMC does not detect local non-component elements	Martin Sjölund	Martin Sjölund	"The following should generate an error instead of silently failing.

{{{class ErrorLocalElement
  function fn
    input Integer i;
    output Integer o;
  algorithm
    o := match i
      local
        type t = Integer;
        T t;
      case t then t;
    end match;
  end fn;

  constant Integer i = fn(1);
end ErrorLocalElement;}}}

There is similar code in the compiler that needs to be fixed (the compiler introduces new types that are subtypeof Any)."	defect	closed	high				fixed		Martin Sjölund
