-1
私有类型声明抛出的错误?我的代码如下,请帮我解决它 误差=>“丢失的私有类型吨全申报”私有类型声明抛出错误?
规范文件
package rec is
type t is private;
give_public_acess:Constant t;
private
type int_array is array(1..5)of integer;
type t_type is record
max:integer:=0;
data:int_array;
end record;
give_public_acess:constant t_type:=(0,(others=>1)); --error is here adacore site says these is good but throwing error?
end rec;