Skip to content

Mid-statement block comments baffle parser #42

Description

@admvx

The regular expressions used to detect certain declarations expect only whitespace between meaningful tokens. Adding a block comment (unusual though this may be) prevents the declaration from being pattern-matched, and the class member will be unknown to the supporting context.

For example: private var /*oops*/ foobar; will not be parsed successfully.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions