Skip to content

CLI: REPL: comments would cause SyntaxError like "return __ = ;// comments" which breaks code exec. #4763

@ShenHongFei

Description

@ShenHongFei

coffee>.editor

# comments
1+2

return __ = (, 1 + 2);// comments
_____________^
SyntaxError: Unexpected token ,

OR
coffee>.editor

###
comments
###
1+2

return __ = (, 1 + 2);/*
____________ ^
SyntaxError: Unexpected token ,

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