Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • T titan.EclipsePlug-ins
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 102
    • Issues 102
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Eclipse ProjectsEclipse Projects
  • Eclipse Titan
  • titan.EclipsePlug-ins
  • Issues
  • #509
Closed
Open
Issue created Nov 28, 2022 by Adam Knapp@aknappqwtMaintainer

Incomplete record/set as formal parameter not accepted

Summary

Error marker appears when an incomplete record/set is defined in the formal parameter list. Additionally, it would be nice to make the severity of this problem configurable.

Steps and/or TTCN-3 code to reproduce

type record Record {
  charstring hostName,
  integer portNum,
  charstring localHost optional
}
...
var Record vl_rect := { hostName := "127.0.0.1", portNum := 4001 };
// wrong error indication -> severity should be configurable
f1({ hostName := "127.0.0.1", portNum := 4001 });

What is the current bug behavior?

The code should be accepted, or markers should be present according the configured severity

What is the expected correct behavior?

Titan C compiler accepts the code with warning

Titan version

8.3.0

Platform details (OS type and version)

All

/cc @aknappqwt @mmagyari

Assignee
Assign to
Time tracking

Copyright © Eclipse Foundation, Inc. All Rights Reserved.     Privacy Policy | Terms of Use | Copyright Agent