Skip to content

copilot-language: Support modifying fields of structs #520

@ivanperez-keera

Description

@ivanperez-keera

Description

Copilot currently supports reading values from fields of structs, but not changing them.

We'd like to be able to modify a struct by adjusting the values of specific fields.

Type

  • Feature: new extension to the language.

Additional context

None.

Requester

  • Ivan Perez

Method to check presence of bug

Not applicable (not a bug).

Expected result

Copilot provides a mechanism to update the field of a struct.

Desired result

Copilot provides a mechanism to update the field of a struct.

Proposed solution

Extend copilot-language to provide operations to modify fields of structs.

Extend copilot-core, copilot-c99 and other libraries accordingly.

Further notes

None.

Metadata

Metadata

Labels

CR:Status:ClosedAdmin only: Change request that has been completedCR:Type:FeatureAdmin only: Change request pertaining to new features requested

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions