﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
1250	Integer() of enumeration value fails to flatten.	Peter Aronsson	Peter Aronsson	"the Integer() function is not implemented for enumerations.
{{{model Enumtest
 
type MyEnum=enumeration(A,B,C);
 
MyEnum A=MyEnum.A;
 
Integer i = Integer(A);
end Enumtest;}}}

Results in the following message:
{{{Error processing file: Enumtest.mo
Error: No matching function found for Integer(A) of type function(x:enumeration(A, B, C)) => Integer, candidates are function(x:enumeration()) => Integer
Error: Wrong type or wrong number of arguments to Integer(A)'.
}}}"	defect	closed	critical				fixed		Peter Aronsson
