We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a333bf commit b3352f3Copy full SHA for b3352f3
internal/analysis/check.go
@@ -535,6 +535,13 @@ func (res *CheckResult) checkDestination(destination parser.Destination) {
535
}
536
res.checkKeptOrDestination(destination.Remaining)
537
538
+ case *parser.DestinationOneof:
539
+ for _, clause := range destination.Clauses {
540
+ res.checkExpression(clause.Cap, TypeMonetary)
541
+ res.checkKeptOrDestination(clause.To)
542
+ }
543
+ res.checkKeptOrDestination(destination.Remaining)
544
+
545
case *parser.DestinationAllotment:
546
var remainingAllotment *parser.RemainingAllotment
547
var variableLiterals []parser.Variable
0 commit comments