Skip to content

[specification] add semicolon to separate declarations #201

@mrodz

Description

@mrodz
print "hello"

([1, 2, 3])[0]

Is interpreted as:

  • print
    • index
      • callable
        • "hello"
          • [1, 2, 3]
      • 0

It would be helpful to have an optional ; to separate declarations

print "hello";

([1, 2, 3])[0]

Resulting in:

  • print
    • "hello"
  • index
    • [1, 2, 3]
    • 0

Metadata

Metadata

Assignees

Labels

compilerIssues related to compilation & parsingenhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions