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
  • #1
Closed
Open
Created Feb 16, 2021 by Michal Kurowski@michal_kurowskiDeveloper

Function named "Source" seems to cause issues which are not communicated in a clear way.

Steps to reproduce:

  1. Create InterfaceView with an SDL function called Source.
  2. Try to edit the function.

What happens:

  1. The following error message is presented to the user.
InterfaceView.aadl:8:23: parsing Package_Name, list is empty
InterfaceView.aadl:8:31: parsing Import_Declaration, unexpected token ';'
InterfaceView.aadl:8:31: parsing Name_Visibility_Declaration, unexpected token ';'
InterfaceView.aadl:12:39: parsing Parameter, token ';' is expected, found token '-'
InterfaceView.aadl:11:01: parsing Features, list is empty
InterfaceView.aadl:26:37: parsing Parameter, token ';' is expected, found token '-'
InterfaceView.aadl:25:01: parsing Features, list is empty
InterfaceView.aadl:50:65: parsing Subcomponent_Access_Classifier, an identifier is expected, found keyword 'source'

What is expected:

Clear and visible communication in the IDE that the "Source" is a reserved keyword. If possible, an average TASTE user should not be concerned with the pecularities of AADL, as it is hidden behind the scenes. Also, some keywords seem like good names, at least for demonstration/educational purposes.

This may also affect other keywords.

Edited Feb 16, 2021 by Michal Kurowski
Assignee
Assign to
Time tracking