new operator crashes parser
The following code crashes the parser on line i := new t_ptr_greyimage(0 to 127);
package test_new_access is type t_greyimage_store is array (natural range <>) of natural; type t_ptr_greyimage is access t_greyimage_store; end package; package body test_new_access is procedure create_image2 (i : inout t_ptr_greyimage) is begin i := new t_ptr_greyimage(0 to 127); end procedure ; end package body;
- Forums:
just found that ourselves
Hi Martin,
Thanks for your code snippet.
We ran in to the same problem last week (based on a code fragment you sent us). It will be fixed in our next release, later this month. (ticket:828)
Philippe
Post new comment