Fuzzy modifier doesn't work
Summary
TITAN does now know the @fuzzy modifier
Steps and/or TTCN-3 code to reproduce
Create a module with code
type port mypt message{
inout R2
}
type component C{
port mypt p;
}
type record R2 {
integer num,
charstring str
}
template R2 m_msg := { num := 5, @fuzzy str := testcasename() }
testcase fuzzy_modifier() runs on C {
p.send(m_msg);
}
Try to compile.
What is the current bug behavior?
Error is received: error: at or before token `@fuzzy': syntax error
What is the expected correct behavior?
The code should build and run, and the sent message should be { num := 5, str := "fuzzy_modifier" }
Although the TTCN-3 standard doesn't seem to explain what the fuzzy modifier is, it seems it can be used in places where the value of a given data element is created in runtime.
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