Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • S SpaceCreator
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 37
    • Issues 37
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 4
    • Merge requests 4
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • TASTE
  • SpaceCreator
  • Issues
  • #3
Closed
Open
Created Feb 16, 2021 by Michal Kurowski@michal_kurowskiDeveloper

ASN.1 types with a hyphen in the name are not supported

Steps to reproduce:

  1. Create an ASN.1 type with a hyphen in the name, like My-Type ::= INTEGER(0..100)
  2. Use the ASN.1 type as an interface parameter in a function
  3. Try to edit the function or build the system

What happens:

  1. When trying to edit the function, a window pops up and closes very fast
  2. When trying to build the system, the following error is reported:
InterfaceView.aadl:11:37: parsing Parameter, token ';' is expected, found token '-'
InterfaceView.aadl:10:01: parsing Features, list is empty
InterfaceView.aadl:43:38: parsing Package_Specification, Empty packages are not allowed
InterfaceView.aadl:58:39: parsing Parameter, token ';' is expected, found token '-'
InterfaceView.aadl:57:01: parsing Features, list is empty
InterfaceView.aadl:72:37: parsing Parameter, token ';' is expected, found token '-'
InterfaceView.aadl:71:01: parsing Features, list is empty
InterfaceView.aadl:114:37: parsing Package_Specification, Empty packages are not allowed
InterfaceView.aadl:128:39: parsing Parameter, token ';' is expected, found token '-'
InterfaceView.aadl:127:01: parsing Features, list is empty
InterfaceView.aadl:161:43: parsing Package_Specification, Empty packages are not allowed

What should happen:

  1. Valid ASN.1 type names should be allowed for use (proper translation to AADL compliant names should be provided)
  2. When trying to edit a function, an appropriate editor should be launched, unless there are other issues. If the editor cannot be launched, a clear, readable error message should be presented to the user.
  3. When trying to build the system, the system should build, unless there are other issues.
Edited Feb 16, 2021 by Maxime Perrotin
Assignee
Assign to
Time tracking