Skip to content

[Feature] Do not allow the 'constructor' keyword #28586

@vicsn

Description

@vicsn

🚀 Feature

We should no longer allow the 'constructor' keyword to be in line with: ProvableHQ/snarkVM#2685

We can also explore whether it makes sense to add that check somewhere in snarkVM (where Leo calls into, so the result is the same: users are not encouraged to use this keyword anymore).

Metadata

Metadata

Assignees

Labels

featureA new feature.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions