FATAL ERROR: compiler: In line 14322 of Value.cc: Value::generate_code_expr(35)
Summary
FATAL ERROR: compiler: In line 14322 of Value.cc: Value::generate_code_expr(35)
Steps and/or TTCN-3 code to reproduce
module proba {
type record R2 {
integer f1
}
function func(in R2 pl_r2){
}
control {
func({})
}
}
What is the current bug behavior?
make
compiler -L \
TCCConversion_Functions.ttcn proba.ttcn - proba.ttcn
Notify: Parsing TTCN-3 module `TCCConversion_Functions.ttcn'...
Notify: Parsing TTCN-3 module `proba.ttcn'...
Notify: Checking modules...
proba.ttcn: In TTCN-3 module `proba':
proba.ttcn:10.1-12.1: In control part:
proba.ttcn:11.3-10: In function instance:
proba.ttcn:11.7-10: In actual parameter list of function `@proba.func':
proba.ttcn:11.8-9: In parameter #1 for `pl_r2':
proba.ttcn:11.8-9: warning: Field `f1' is missing from record value
Notify: Generating code...
FATAL ERROR: compiler: In line 14322 of Value.cc: Value::generate_code_expr(35)
Titan version
(Version of Titan you are using, e.g. 7.2.0)
Platform details (OS type and version)
(OS type/distribution and version, e.g. Ubuntu 18.04, Windows 10+Cygwin)
/cc @aknappqwt @mmagyari
Edited by Gábor Szalai