Hey guys,
I'm working on a proposal and the question arose why the declaration
modifier indirect can only be specified for the whole enum case and the
whole enum but not for the actual parameter which is indirect.
I.e. is there any technical reason which would prevent something like the
following?
1. enum ArithmeticExpression {
2. case Number(Int)
3. case Addition(indirect ArithmeticExpression, indirect
ArithmeticExpression)
4. case Multiplication(indirect ArithmeticExpression, indirect
ArithmeticExpression)
5. }
Also is there any technical reason which would prevent indirect from being
used for structs?
Thanks,
Marc
_______________________________________________
swift-dev mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-dev