Skip to content

Immutable storage class has wrong info #4331

@ntrel

Description

@ntrel

https://dlang.org/spec/const3.html#immutable_storage_class

  • An immutable declaration is not a manifest constant
  • shared static this() is needed to initialize immutable vars, not just static this()

PR incoming.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions