nasa / fpp

F Prime Prime: A modeling language for F Prime
https://fprime.jpl.nasa.gov
Apache License 2.0
49 stars 31 forks source link

fpp-to-json bug with analyzing patterned connections #467

Closed mosa11aei closed 3 months ago

mosa11aei commented 3 months ago

fpp-to-json errors out with a message that there is a missing bitmap entry when trying to analyze files with patterned connections.

For example, in a file with:

module A {
    topology T {
        instance c
        telemetry connections instance c
    }
}

Assuming that c is properly defined with the patterned interface of the telemetry connections graph, fpp-to-json without the -s will fail.

This is similar to https://github.com/nasa/fpp/issues/445, however the analysis now causes an error rather than the syntax parsing.