Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • E escet
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Graph
    • Compare
    • Locked Files
  • Issues 92
    • Issues 92
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 5
    • Merge requests 5
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Eclipse ProjectsEclipse Projects
  • Eclipse ESCET (Supervisory Control Engineering Toolkit)
  • escet
  • Issues
  • #234
Closed
Open
Issue created Nov 13, 2021 by Ferdie Reijnen@freijnenDeveloper

Type checker should warn for convoluted references.

Users should get a warning when they use convoluting references, such when relative/absolute/root names are used instead of identifiers.

For example, in the following example, all three event references should get a warning, because identifier e should be used.

automaton p:
  event e;
  location:
    initial;
    edge ^p.e;
    edge .p.e;
    edge p.e;
end

as a warning we may use:

  • "Convoluted reference to local variable. Use "<ref>" instead."

Provide for <ref> the reference to use, the name of the variable, escaped in case it is a keyword.

Edited Nov 13, 2021 by Ferdie Reijnen
Assignee
Assign to
Time tracking

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