importing imports does not work
Summary
The mechanism defined in Section 8.2.3.7 of the TTCN-3 standard for importing import statements does not work.
Steps and/or TTCN-3 code to reproduce
In one module
import from chain1 {import all};
testcase importimport() runs on ct_empty{
// log(chain2const); //ERROR
// log(chain32const); //ERROR
log(chain33const); //should work
}
Furthermore the following modules are needed:
module chain1 {
private import from chain2 {import all}; //importing module does not see chain2const
import from chain22 {import all}; //importing module does not see chain32const
public import from chain23 {import all}; //importing module does see chain33const
}
module chain2 {
import from chain3 all;
}
module chain22 {
import from chain32 all;
}
module chain23 {
import from chain33 all;
}
module chain3 {
const integer chain2const := 1;
}
module chain32 {
const integer chain32const := 1;
}
module chain33 {
const integer chain33const := 1;
}
What is the current bug behavior?
chain33const is not seen in the main module.
What is the expected correct behavior?
chain33const shoulw be seen in the main module while the commented-out two constants should not be seen.
Relevant logs and/or screenshots
Possible fixes
Titan version
8.1.0
Platform details (OS type and version)
Microsoft Windows 10 Enterprise 10.0.19042
/cc @aknappqwt @mmagyari