Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • E EMAM2Cpp
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 12
    • Issues 12
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • monticore
  • EmbeddedMontiArcEmbeddedMontiArc
  • generators
  • EMAM2Cpp
  • Issues
  • #6
Closed
Open
Issue created Jul 01, 2018 by Sascha Niklas Schneiders@sascha.schneidersContributor

Generics Inistialization in SubComponents does not work correctly, when Generics of parent component are used as value

Example:

component ComponentA<N value = 1>{
    instance ComponentB<value> compB; // in compB instance creation the default value will be used
}
component ComponentB<N value = 2>{
    port in Z testPorts[value];
}
component ComponentC{
    instance ComponentA<5> compA;
}

Should be fixed in Generics Resolution in EmbeddedMontiArc language. (ExpandedComponentInstance creation should probably be changed, as the error is related to this)

Edited Jul 01, 2018 by Sascha Niklas Schneiders
Assignee
Assign to
Time tracking