You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The compiler messages now report the type of an iterable expression
as `iterator yielding TYPE` or `promoted expression yielding TYPE`,
with an appropriate TYPE. Previously it reported these types simply
as `iterator`.
De-futurizes `test/expressions/bradc/reduceVsMathPrec2.chpl`
Changes the article to be used in one of the error messages
before the type name from `a` to `an` in some common cases
like "from an 'iterator'" or "from an 'owned'".
r: @DanilaFe
forall-over-iteratorRecord-arg.chpl:21: In function 'myTestProc':
2
2
forall-over-iteratorRecord-arg.chpl:23: error: a forall loop over a formal argument corresponding to a for/forall/promoted expression or an iterator call is not implemented
3
3
forall-over-iteratorRecord-arg.chpl:34: note: the actual argument is here
4
-
forall-over-iteratorRecord-arg.chpl:34: called as myTestProc(IR: iterator)
4
+
forall-over-iteratorRecord-arg.chpl:34: called as myTestProc(IR: promoted expression yielding int(64))
Copy file name to clipboardExpand all lines: test/io/serializers/unstableWriting.good
+5-5
Original file line number
Diff line number
Diff line change
@@ -14,11 +14,11 @@ $CHPL_HOME/modules/standard/JSON.chpl:nnnn: warning: Serialization of rectangula
14
14
unstableWriting.chpl:12: called as helper(thing: domain(1,int(64),one))
15
15
$CHPL_HOME/modules/standard/JSON.chpl:nnnn: In method 'serializeValue':
16
16
$CHPL_HOME/modules/standard/JSON.chpl:nnnn: warning: Serialization of iterators with non-default Serializer is unstable, and may change in the future
17
-
$CHPL_HOME/modules/standard/IO.chpl:nnnn: called as jsonSerializer.serializeValue(writer: fileWriter(false,jsonSerializer), val: iterator) from method '_serializeOne'
18
-
$CHPL_HOME/modules/standard/IO.chpl:nnnn: called as (fileWriter(true,jsonSerializer))._serializeOne(x: iterator, loc: locale) from method 'writeHelper'
19
-
$CHPL_HOME/modules/standard/IO.chpl:nnnn: called as (fileWriter(true,jsonSerializer)).writeHelper(endl: chpl_ioNewline, sep: nothing, args(0): iterator) from method 'writeln'
20
-
unstableWriting.chpl:7: called as (fileWriter(true,jsonSerializer)).writeln(args(0): iterator) from function 'helper'
21
-
unstableWriting.chpl:13: called as helper(thing: iterator)
17
+
$CHPL_HOME/modules/standard/IO.chpl:nnnn: called as jsonSerializer.serializeValue(writer: fileWriter(false,jsonSerializer), val: iterator yielding int(64)) from method '_serializeOne'
18
+
$CHPL_HOME/modules/standard/IO.chpl:nnnn: called as (fileWriter(true,jsonSerializer))._serializeOne(x: iterator yielding int(64), loc: locale) from method 'writeHelper'
19
+
$CHPL_HOME/modules/standard/IO.chpl:nnnn: called as (fileWriter(true,jsonSerializer)).writeHelper(endl: chpl_ioNewline, sep: nothing, args(0): iterator yielding int(64)) from method 'writeln'
20
+
unstableWriting.chpl:7: called as (fileWriter(true,jsonSerializer)).writeln(args(0): iterator yielding int(64)) from function 'helper'
21
+
unstableWriting.chpl:13: called as helper(thing: iterator yielding int(64))
splitInitIteratorExpressions.chpl:6: error: Split initialization uses multiple types; another initialization has type [domain(1,int(64),one)] string but this initialization has type iterator
1
+
splitInitIteratorExpressions.chpl:6: error: Split initialization uses multiple types; another initialization has type [domain(1,int(64),one)] string but this initialization has type iterator yielding string
0 commit comments