D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 23359 - Rename InOut to ParameterStorageClass
Summary: Rename InOut to ParameterStorageClass
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dlang.org (show other issues)
Version: D2
Hardware: All All
: P1 enhancement
Assignee: No Owner
URL:
Keywords: pull
Depends on:
Blocks:
 
Reported: 2022-09-22 12:05 UTC by Bolpat
Modified: 2022-09-22 15:41 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Bolpat 2022-09-22 12:05:52 UTC
Rename InOut to ParameterStorageClass

From

InOut:
    auto
    TypeCtor
    final
    in
    lazy
    out
    ref
    return
    scope

to

ParameterStorageClass:
    auto
    TypeCtor
    final
    in
    lazy
    out
    ref
    return
    scope

Note: not only change the name in functions.dd, but also in DMD.
Comment 1 Dennis 2022-09-22 12:23:22 UTC
(In reply to Bolpat from comment #0)
> Note: not only change the name in functions.dd, but also in DMD.

Where do you see the name `InOut` or similar in DMD?
Comment 2 Dlang Bot 2022-09-22 12:25:36 UTC
@dkorpel created dlang/dlang.org pull request #3413 "Fix 23359 - Rename InOut to ParameterStorageClass" fixing this issue:

- Fix 23359 - Rename InOut to ParameterStorageClass

https://github.com/dlang/dlang.org/pull/3413
Comment 3 Bolpat 2022-09-22 13:22:51 UTC
(In reply to Dennis from comment #1)
> (In reply to Bolpat from comment #0)
> > Note: not only change the name in functions.dd, but also in DMD.
> 
> Where do you see the name `InOut` or similar in DMD?

I found this: https://github.com/dlang/dmd/blob/master/druntime/benchmark/gcbench/vdparser.extra/vdc/parser/decl.d

I renamed grammar entities in 2020 and was asked to replicate the renaming in the parser.
Comment 4 Dlang Bot 2022-09-22 15:41:36 UTC
dlang/dlang.org pull request #3413 "Fix 23359 - Rename InOut to ParameterStorageClass" was merged into master:

- 96e0050018388e79cfd3d83c6bbd3957d3ddbd48 by Dennis Korpel:
  Fix 23359 - Rename InOut to ParameterStorageClass

https://github.com/dlang/dlang.org/pull/3413