Skip to content

FATAL ERROR: compiler: In line 12982 of AST_ttcn3.cc: ActualPar::get_Ref()

Summary

Fatal error occurs using inout parameters with default values

Steps and/or TTCN-3 code to reproduce

module z
{
 
function f_fatal_error
(
    inout  integer a,
    inout  integer b    := 1   // This is broken
)
 
{
    log("something");
}
 
function TC_ActualPar_get_Ref()
{
  var integer a
    f_fatal_error(
        a
 
        );
}
 
}
Edited by Adam Knapp