From 5813f947d1364e26394c37959edbb4ed8ce4cb27 Mon Sep 17 00:00:00 2001 From: Jeremiah Corrado Date: Wed, 25 Sep 2024 08:53:48 -0600 Subject: [PATCH] minor updates for compatability with chapel 2.2 Signed-off-by: Jeremiah Corrado --- lib/SimpleDomain.chpl | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/SimpleDomain.chpl b/lib/SimpleDomain.chpl index f7d2e8318..e8fd33780 100644 --- a/lib/SimpleDomain.chpl +++ b/lib/SimpleDomain.chpl @@ -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)); @@ -374,7 +374,6 @@ record rect : serializable { } proc toString() { - use IO; use IO.FormattedIO; const dms = dims(); var content: string = ""; @@ -556,4 +555,4 @@ inline proc isTupleOfOrder(param order: int, tup: ?tupType) param : bool { foreach idx in rct do yield indexAt(rct.atIndex(idx)); } - */ \ No newline at end of file + */