Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adjust .bad to include additional error
Browse files Browse the repository at this point in the history
mppf committed Feb 18, 2020
1 parent 249d9b0 commit 5d60eb9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/types/records/split-init/for-expr-owned-bug.bad
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
$CHPL_HOME/modules/internal/ChapelArray.chpl:4193: error: non-lvalue actual is passed to a 'ref' formal of chpl__initCopy()
$CHPL_HOME/modules/internal/ChapelArray.chpl:4215: error: non-lvalue actual is passed to a 'ref' formal of chpl__initCopy()
for-expr-owned-bug.chpl:6: In function 'main':
for-expr-owned-bug.chpl:7: error: Cannot copy array with element type that cannot be assigned
$CHPL_HOME/modules/internal/ChapelArray.chpl:4299: note: in function called here

0 comments on commit 5d60eb9

Please sign in to comment.