Skip to content

Final int can be incremented #60

Closed
@DartBot

Description

@DartBot

This issue was originally filed by rice@google.com


This bug was reported by wijnand.schepens@gmail.com over email.

The code:

main() {
  final a = 1;
  a++;
  print(a);
}

prints '2'. Should finals be incrementable?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions