Opened 11 years ago

Closed 11 years ago

#2283 closed defect (fixed)

Usage of imported qualified package constant is not working

Reported by: adrpo Owned by: adrpo
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 Changed 11 years ago by adrpo

  • Status changed from new to assigned

comment:2 Changed 11 years ago by adrpo

  • Resolution set to fixed
  • Status changed from assigned to closed

Fixed in r16606.

Note: See TracTickets for help on using tickets.