Skip to content

Error: Compilation raised exception internally

generic procedure proc<T>(arg: T); external 'lib';

begin
  specialize proc<Integer>(1);
end. 
project1.lpr(1,45) Error: Compilation raised exception internally
Verbose: Compilation aborted
Debug: An unhandled exception occurred at $000000010018E79E:
Debug: EAccessViolation: Access violation
Debug:   $000000010018E79E  pd_external,  line 2416 of pdecsub.pas
Debug:   $000000010018FAEA  parse_proc_direc,  line 3310 of pdecsub.pas
Debug:   $0000000100190318  parse_proc_directives,  line 3510 of pdecsub.pas
Debug:   $00000001000E9CBF  generate_specialization_phase2,  line 2121 of pgenutil.pas
Debug:   $00000001000E6602  finalize_specialization,  line 686 of pgenutil.pas
Debug:   $0000000100197E1F line 2492 of htypechk.pas
Debug:   $0000000100198024 line 2557 of htypechk.pas
Debug:   $000000010019720A line 2188 of htypechk.pas
Debug:   $000000010013C595  pass_typecheck,  line 4143 of ncal.pas
Debug:   $0000000100116956  typecheckpass_internal_loop,  line 73 of pass_1.pas
Debug:   $0000000100116A6E  typecheckpass_internal,  line 111 of pass_1.pas
Debug:   $0000000100116B25  do_typecheckpass_changed,  line 137 of pass_1.pas
Debug:   $00000001001CA9B0  postfixoperators,  line 2247 of pexpr.pas
Debug:   $00000001001CE74F  factor,  line 3818 of pexpr.pas
Debug:   $00000001001D0EE0  sub_expr,  line 4730 of pexpr.pas
Debug:   $00000001001D0F11  sub_expr,  line 4735 of pexpr.pas
Debug:   $00000001001D0F11  sub_expr,  line 4735 of pexpr.pas
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information