Skip to content

Commit

Permalink
update good file to reflect improved errors
Browse files Browse the repository at this point in the history
Signed-off-by: Jade Abraham <[email protected]>
  • Loading branch information
jabraham17 committed Aug 28, 2024
1 parent af97599 commit 7323b9c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/deprecated/Sort/useRelativeComparator.good
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ useRelativeComparator.chpl:54: warning: Defining a comparator with a 'compare' m
$CHPL_HOME/modules/standard/Sort.chpl:nnnn: In iterator 'sorted':
$CHPL_HOME/modules/standard/Sort.chpl:nnnn: warning: Defining a comparator with a 'compare' method without implementing the relativeComparator interface is deprecated. Please implement the relativeComparator interface (i.e. 'record myCmp8: relativeComparator').
useRelativeComparator.chpl:55: called as sorted(x: [domain(1,int(64),one)] int(64), comparator: myCmp8)
note: generic instantiations are underlined in the above callstack
useRelativeComparator.chpl:56: note: Defining a comparator with a 'compare' method without implementing the relativeComparator interface is deprecated. Please implement the relativeComparator interface (i.e. 'record myCmp9: relativeComparator').
useRelativeComparator.chpl:56: warning: Defining a comparator with a 'compare' method without implementing the relativeComparator interface is deprecated. Please implement the relativeComparator interface (i.e. 'record myCmp9: relativeComparator').
isSorted before false
isSorted after true
isSorted before false
Expand Down

0 comments on commit 7323b9c

Please sign in to comment.