Skip to content

Commit

Permalink
Merge pull request #2 from jeremiah-corrado/updates-for-2.2
Browse files Browse the repository at this point in the history
Minor updates for compatibility with chapel 2.2
  • Loading branch information
jeremiah-corrado authored Sep 25, 2024
2 parents 709f0e3 + 5813f94 commit 9727617
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/SimpleDomain.chpl
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ proc tuple.eltType type do
// return this(0);

pragma "reference to const when const this"
inline proc tuple.uncons ref : (head.type,tail.type) {
inline proc tuple.uncons ref : (this.head.type,this.tail.type) {
inline proc firstRest(first, rest...) do
return (first,rest);
return firstRest((...this));
Expand Down Expand Up @@ -374,7 +374,6 @@ record rect : serializable {
}

proc toString() {
use IO;
use IO.FormattedIO;
const dms = dims();
var content: string = "";
Expand Down Expand Up @@ -556,4 +555,4 @@ inline proc isTupleOfOrder(param order: int, tup: ?tupType) param : bool {
foreach idx in rct do
yield indexAt(rct.atIndex(idx));
}
*/
*/

0 comments on commit 9727617

Please sign in to comment.