Opened 11 years ago

Closed 11 years ago

#2283 closed defect (fixed)

Usage of imported qualified package constant is not working

Reported by: Adrian Pop Owned by: Adrian Pop
Priority: high Milestone: 1.9.0
Component: Frontend Version: trunk
Keywords: Cc:

Description

This affects mostly the AVM models

package TestPackage 
  type MyType = Real;
  
  package Water
	import TestPackage.Water.ConstantPropertyLiquidWater.simpleWaterConstants;
	package ConstantPropertyLiquidWater
	  constant MyType simpleWaterConstants = blah;
	  constant MyType blah = 1.0;
	end ConstantPropertyLiquidWater;
  
  end Water;
end TestPackage;

model TestPackageConstantHandling
  constant TestPackage.MyType x = TestPackage.Water.simpleWaterConstants;
end TestPackageConstantHandling;

Change History (2)

comment:1 by Adrian Pop, 11 years ago

Status: newassigned

comment:2 by Adrian Pop, 11 years ago

Resolution: fixed
Status: assignedclosed

Fixed in r16606.

Note: See TracTickets for help on using tickets.