EmbeddedMontiArcDL issueshttps://git.rwth-aachen.de/monticore/EmbeddedMontiArc/languages/EmbeddedMontiArcDL/-/issues2019-07-01T11:34:40+02:00https://git.rwth-aachen.de/monticore/EmbeddedMontiArc/languages/EmbeddedMontiArcDL/-/issues/6referenced components have an empty package name2019-07-01T11:34:40+02:00Baran Dalgicreferenced components have an empty package name## Problem
The type attribute of *EMAComponentInstanceSymbol* objects always returns a reference with an empty package name (empty string). This is also the case if the parent component has an explicit package. As a result, we are not a...## Problem
The type attribute of *EMAComponentInstanceSymbol* objects always returns a reference with an empty package name (empty string). This is also the case if the parent component has an explicit package. As a result, we are not able to assign tags
without fully qualifying the instance type.
## Example
The combination of this two models leads to an Alexnet instance with an empty package name instead of *tagging*.
[Alexnet.emadl](/uploads/83565010f980da674398a4cfe9ccc4a0/Alexnet.emadl)
[Parent.emadl](/uploads/7654661f3843f793c1ccb13043f19fb2/Parent.emadl)Evgeny KusmenkoEvgeny Kusmenkohttps://git.rwth-aachen.de/monticore/EmbeddedMontiArc/languages/EmbeddedMontiArcDL/-/issues/7Parameters cant be passed through nested components2024-01-29T19:12:07+01:00Marvin DaxhammerParameters cant be passed through nested componentsGiven three components where NetworkA is expected to pass through the parameter convChannels to the instance of NetworkB, an Exception occurs when the component is being resolved:
```
java.lang.IllegalStateException: The following names ...Given three components where NetworkA is expected to pass through the parameter convChannels to the instance of NetworkB, an Exception occurs when the component is being resolved:
```
java.lang.IllegalStateException: The following names could not be resolved: convChannels,convChannels
at de.monticore.lang.monticar.cnnarch._symboltable.ResolvableSymbol.resolveOrError(ResolvableSymbol.java:80)
at de.monticore.lang.monticar.cnnarch._symboltable.StreamInstructionSymbol.resolve(StreamInstructionSymbol.java:32)
at de.monticore.lang.monticar.cnnarch._symboltable.ResolvableSymbol.resolveOrError(ResolvableSymbol.java:78)
at de.monticore.lang.monticar.cnnarch._symboltable.ArchitectureSymbol.resolve(ArchitectureSymbol.java:179)
```
component NetworkB<Z classes=10> (Z convChannels) {...}
component NetworkA<Z classes=10> (Z convChannels){ ports ...;
instance NetworkB<10> (convChannels) netB; ...}
component Main{
instance NetworkA<10> (20) net1;}Marvin DaxhammerMarvin Daxhammer