-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;