Open emil14 opened 6 months ago
We should also be able to refer constants probably from signature then
Idea - all inports can have default values but at least one inport must be used
Minor but not because the impact (is big) but because we don't have a lot of problems with (without) it RN
If
flow
haslen(inports) > 1
, then all inports could have default values.Default values are always optional, it'c completely ok not to have them. Even more than that, this should not be used much because there's a downside of this.
However, parent always forced to use at least one (except special cases like
New
that doesn't have inports) port of a child node even if all ports have default values.Implementation
Could be implemented as a syntax sugar of constants.