Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unclosed block comment should be syntax error #2645

Closed
dandavison opened this issue Dec 15, 2012 · 0 comments
Closed

Unclosed block comment should be syntax error #2645

dandavison opened this issue Dec 15, 2012 · 0 comments

Comments

@dandavison
Copy link

f = () ->
    ### comment
    1

compiles successfully to

// Generated by CoffeeScript 1.4.0
(function() {
  var f;

  f = function() {
    /* comment
    1
    */

  };

}).call(this);

Since ### is treated specially, would it make sense for it to be a syntax error when there is no closing ###?

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

No branches or pull requests

2 participants