unicesi / amelia

:airplane: DSL for deploying distributed systems, with custom commands to compile and execute FraSCAti applications
GNU Lesser General Public License v3.0
2 stars 3 forks source link

Error: Included params are not part of the constructor #29

Closed jachinte closed 8 years ago

jachinte commented 8 years ago

When a subsystem has no parameters, its included parameters are not part of its constructor. Example:

subsystem Common {
    param String hello
}
includes Common
subsystem Subsystem {
    // Only the empty constructor is generated
}

If Subsystem is now given a parameter, its constructor will contain the parameters from Common.