We encountered and issue with CliDiagnostic not being able to get to the CommandValueResult. I added it to the ParseResult which needed it, and updated the Powderhouse tests in ParserTests
There may be additional work needed to for CliDiagnostic to include the CommandValueResult.
We discussed supplying a common base class for ValueResults and CommandValueResults, but I did not include this.
While CommandResult looks separable, it can't be sent onward outside core as long as it derives from SymbolResult which retains the link to the SymbolTree which needs to remain behind.
We encountered and issue with
CliDiagnostic
not being able to get to theCommandValueResult
. I added it to theParseResult
which needed it, and updated the Powderhouse tests inParserTests
There may be additional work needed to for
CliDiagnostic
to include theCommandValueResult
.We discussed supplying a common base class for
ValueResults
andCommandValueResults
, but I did not include this.While
CommandResult
looks separable, it can't be sent onward outside core as long as it derives fromSymbolResult
which retains the link to theSymbolTree
which needs to remain behind.