Last active
February 22, 2019 17:11
-
-
Save controlflow/ba78fc2af0ab1b207347956e52d73fe2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var sourceExpression = DeconstructionUtil.FindExpressionInTuple(infoInExpression); | |
if (sourceExpression != null && sourceExpression.Value.Indices.Count == 0) | |
{ | |
namesCollection.Add(sourceExpression.Value.TopmostExpression, new EntryOptions(subrootPolicy: SubrootPolicy.Decompose)); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var sourceExpression = DeconstructionUtil.FindExpressionInTuple(infoInExpression); | |
if (sourceExpression is { Indices: { Count: 0 }, TopmostExpression: var topmostExpression }) | |
{ | |
namesCollection.Add(topmostExpression, new EntryOptions(subrootPolicy: SubrootPolicy.Decompose)); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment