-
Notifications
You must be signed in to change notification settings - Fork 423
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Loading status checks…
fix warning in tests
Signed-off-by: Jade Abraham <[email protected]>
1 parent
78dab20
commit 536c71e
Showing
9 changed files
with
49 additions
and
33 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,12 @@ | ||
foreach (i, _) in zip(1..10, 1..10) { i; } | ||
foreach (_, j) in zip(1..10, 1..10) { j; } | ||
foreach (_, _) in zip(1..10, 1..10) {} | ||
foreach (i, (_, _)) in zip(1..10, foreach pair in zip(1..10, 1..10) do pair) { i; } | ||
foreach (_, (_, _)) in zip(1..10, foreach pair in zip(1..10, 1..10) do pair) { i; } | ||
foreach ((_, _), _) in zip(foreach pair in zip(1..10, 1..10) do pair, 1..10) { i; } | ||
foreach (i, (_, _)) in zip(1..10, foreach pair in zip(1..10, 1..10) do pair) { | ||
i; | ||
} | ||
foreach (_, (_, _)) in zip(1..10, foreach pair in zip(1..10, 1..10) do pair) { | ||
i; | ||
} | ||
foreach ((_, _), _) in zip(foreach pair in zip(1..10, 1..10) do pair, 1..10) { | ||
i; | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
UnusedTupleUnpack.chpl:1: node violates rule UseExplicitModules | ||
UnusedTupleUnpack.chpl:3: node violates rule UnusedTupleUnpack | ||
UnusedTupleUnpack.chpl:4: node violates rule UnusedTupleUnpack | ||
UnusedTupleUnpack.chpl:5: node violates rule UnusedTupleUnpack | ||
UnusedTupleUnpack.chpl:5: node violates rule UnusedTupleUnpack | ||
UnusedTupleUnpack.chpl:6: node violates rule UnusedTupleUnpack | ||
UnusedTupleUnpack.chpl:6: node violates rule UnusedTupleUnpack | ||
UnusedTupleUnpack.chpl:7: node violates rule UnusedTupleUnpack | ||
UnusedTupleUnpack.chpl:7: node violates rule UnusedTupleUnpack | ||
UnusedTupleUnpack.chpl:10: node violates rule UnusedTupleUnpack | ||
UnusedTupleUnpack.chpl:10: node violates rule UnusedTupleUnpack | ||
[Success matching fixit for UnusedTupleUnpack] |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,12 @@ | ||
foreach (i, _) in zip(1..10, 1..10) { i; } | ||
foreach (_, j) in zip(1..10, 1..10) { j; } | ||
foreach zip(1..10, 1..10) {} | ||
foreach (i, _) in zip(1..10, foreach pair in zip(1..10, 1..10) do pair) { i; } | ||
foreach (_, _) in zip(1..10, foreach pair in zip(1..10, 1..10) do pair) { i; } | ||
foreach (_, _) in zip(foreach pair in zip(1..10, 1..10) do pair, 1..10) { i; } | ||
foreach (i, _) in zip(1..10, foreach pair in zip(1..10, 1..10) do pair) { | ||
i; | ||
} | ||
foreach (_, _) in zip(1..10, foreach pair in zip(1..10, 1..10) do pair) { | ||
i; | ||
} | ||
foreach (_, _) in zip(foreach pair in zip(1..10, 1..10) do pair, 1..10) { | ||
i; | ||
} |