﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
5870	New FE does not resolve unqualified imported names	Andrea Bartolini	Per Östlund	"Please consider the test package below:

{{{
package Test
  import SIMSL = Modelica.SIunits;
  import Test.Types.*;

  package Types
    constant SIMSL.Pressure Pressure_nominal = 1e2;
    type Pressure = SIMSL.Pressure(nominal = Pressure_nominal);
  end Types;

  model M
    Pressure p = 1;
  end M;

end Test;
}}}

If you open and check the {{{model M}}} the omc rises the following error:

{{{
[1] 13:17:15 Translation Error
[Test: 3:3-3:22]: Import Test.Types not found in scope <top>.

[2] 13:17:15 Translation Error
Class Test.M not found in scope <top>.
}}}

As far as I understand, according to the Modelica specification 3.4 - Par. 5.3.1 - the {{{import Test.Types.*;}}} in the top-level package should be allowed.

Can you please give me a feedback...
Thanks in advance

OpenModelica 1.16.0~dev-208-gb567bd2
Sysop Linux Ubuntu 18.04
 "	defect	closed	high	1.16.0	New Instantiation	v1.16.0-dev	fixed		Francesco Casella
