moonscript icon indicating copy to clipboard operation
moonscript copied to clipboard

Bad parse line number when using += in non valid location

Open leafo opened this issue 8 years ago • 0 comments

class Vector
  nonzero: =>
    @x != 0 or @y += 0

  some_valid: =>
    code

nonzero method has syntax issue, line number reported is not useful

leafo avatar Jul 29 '17 02:07 leafo