10-11 11:29:33.181 20989-20989/me.xingcloud.shop.cateringpad.test W/Bundle: Attempt to cast generated internal exception:
java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Intege
at android.os.BaseBundle.getInt(BaseBundle.java:801)
at android.os.BaseBundl
我想知道是否有办法从Ada泛型中获得更小/更高效的汇编程序代码。
例如,我编写了一个小型虚拟Ada程序(main.adb)来显示一个通用过程&实例化它6次:
with Ada.Text_Io;
procedure Main is
generic
X : Natural;
with procedure Bob (S : in String);
procedure Thing_Gen (S : in String);
procedure Thing_Gen (S : in String) is
begin
for I in 0