-
Notifications
You must be signed in to change notification settings - Fork 424
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
don't show show a deprecation message if the user has key and some ot…
…her comparator special method Signed-off-by: Jade Abraham <[email protected]>
- Loading branch information
1 parent
23295bd
commit 1e80f13
Showing
3 changed files
with
0 additions
and
4 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
1 change: 0 additions & 1 deletion
1
test/library/standard/Sort/errors/errors-comparator.keyandcompare.good
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,3 +1,2 @@ | ||
errors-comparator.chpl:9: In function 'main': | ||
errors-comparator.chpl:17: warning: Defining a comparator with a 'key' method without implementing the keyComparator interface is deprecated. Please implement the keyComparator interface (i.e. 'record keyAndCompare: keyComparator'). | ||
errors-comparator.chpl:17: error: keyAndCompare contains both a key method and a compare method |
1 change: 0 additions & 1 deletion
1
test/library/standard/Sort/errors/errors-comparator.keyandkeypart.good
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,3 +1,2 @@ | ||
errors-comparator.chpl:9: In function 'main': | ||
errors-comparator.chpl:17: warning: Defining a comparator with a 'key' method without implementing the keyComparator interface is deprecated. Please implement the keyComparator interface (i.e. 'record keyAndKeyPart: keyComparator'). | ||
errors-comparator.chpl:17: error: keyAndKeyPart contains both a key method and a keyPart method |