chapel
chapel copied to clipboard
Missing unstable warning on `cyclicDist.createArray` with `initExpr`
The following blockDist.createArray
procedure is currently marked unstable while design continues on it
@unstable("'blockDist.createArray' with an 'initExpr' formal is unstable and may change in a future release")
proc type blockDist.createArray(
...,
type eltType,
initExpr
)
This was added in https://github.com/chapel-lang/chapel/pull/23112, along with stencilDist.createArray
and cyclicDist.createArray
. While stencilDist
is unstable, cyclicDist
is considered stable. This means that the cyclicDist.createArray
with initExpr
is currently considered stable, even though it was not meant to be.
However, to mark it as unstable now would be considered a breaking change, and such a change needs to wait for a way to make breaking changes (such as a new language edition). This issue is capturing the desire to make this unstable and/or change cyclicDist.createArray
with initExpr
to match whatever we do with blockDist.createArray
with initExpr
.
Note that if blockDist.createArray
with initExpr
is stabilized as-is, then this issue is probably moot and can be closed