Skip to content

Commit dc2cd94

Browse files
Updates based on CI issues
1 parent baefb1f commit dc2cd94

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

src/System.CommandLine.Subsystems/Directives/DiagramSubsystem.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,10 @@ private static void Diagram(
6666
builder.Append('!');
6767
}
6868

69+
// TODO: Directives
70+
/*
6971
switch (symbolResult)
7072
{
71-
// TODO: Directives
72-
/*
7373
case DirectiveResult { Directive: not DiagramDirective }:
7474
break;
7575
*/
@@ -174,7 +174,7 @@ private static void Diagram(
174174
break;
175175
}
176176
}
177-
*/
178177
}
178+
*/
179179
}
180180
}

src/System.CommandLine.Subsystems/ValueSubsystem.cs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,11 @@ AnnotationAccessor<object> Explicit
2626

2727
void SetCalculated(CliSymbol symbol, Func<ValueResult, object?> factory)
2828
=> SetAnnotation(symbol, ValueAnnotations.Calculated, factory);
29-
Func<ValueResult, object?> GetCalculated(CliSymbol symbol)
30-
=> TryGetAnnotation<Func<ValueResult, object?>>(symbol, ValueAnnotations.Calculated, out var value)
31-
? value
32-
: null;
29+
Func<ValueResult, object?>? GetCalculatedValue(CliSymbol symbol)
30+
=> TryGetAnnotation<Func<ValueResult, object?>>(symbol, ValueAnnotations.Calculated, out var value)
31+
? value
32+
: null;
33+
3334
AnnotationAccessor<Func<ValueResult, object?>> Calculated
3435
=> new(this, ValueAnnotations.Calculated);
3536

0 commit comments

Comments
 (0)