-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Labels
releasedIncluded in a releaseIncluded in a release
Description
Is your feature request related to a problem?
Currently, we use the @Constant annotation to mark parameters as constant (i.e. a literal must be passed). This is an important concept, however, e.g. for partial evaluation or refined types, so a modifier might be better suited.
Desired solution
- Add a
constmodifier for this purpose. - For annotations, show an info if the modifier is used, since it is implied.
Or should we show an error if it's not used? - Error if lambda parameters have this modifier
- Error if parameters of callable type have this modifier
Possible alternatives (optional)
No response
Screenshots (optional)
No response
Additional Context (optional)
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
releasedIncluded in a releaseIncluded in a release
Type
Projects
Status
✔️ Done