Skip to content
This repository was archived by the owner on Apr 14, 2022. It is now read-only.

Commit 8798e27

Browse files
author
MikhailArkhipov
committed
Make tuples with different arguments different types
1 parent 423234f commit 8798e27

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Analysis/Engine/Impl/Values/Protocols.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ public override IAnalysisSet GetIndex(Node node, AnalysisUnit unit, IAnalysisSet
415415
return AnalysisSet.UnionAll(constants.Select(GetItem));
416416
}
417417

418-
public override string Name => "tuple";
418+
public override string Name => "tuple[{0}]".FormatInvariant(string.Join(", ", _values.Select(v => v.GetShortDescriptions())));
419419

420420
public override IEnumerable<KeyValuePair<string, string>> GetRichDescription() {
421421
if (_values.Any()) {

0 commit comments

Comments
 (0)