Skip to content

Commit

Permalink
Fix problem with creating array of owned from forall expr
Browse files Browse the repository at this point in the history
See e.g. test/classes/delete-free/owned/owned-init.chpl
  • Loading branch information
mppf committed Aug 26, 2020
1 parent a206c7a commit 7b179a4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/internal/ChapelArray.chpl
Original file line number Diff line number Diff line change
Expand Up @@ -5090,6 +5090,7 @@ module ChapelArray {
return chpl__initCopy_shapeHelp(shape, ir);
}

pragma "no copy returns owned"
pragma "ignore transfer errors"
proc chpl__initCopy_shapeHelp(shape: domain, ir: _iteratorRecord)
{
Expand Down

0 comments on commit 7b179a4

Please sign in to comment.