Skip to content
This repository was archived by the owner on Apr 3, 2024. It is now read-only.
This repository was archived by the owner on Apr 3, 2024. It is now read-only.

CoffeeScript error messages don't make sense #2

@ofrobots

Description

@ofrobots

The following is the output from the 'should capture without values for invalid watch expressions in compiled code' test (if the log level is changed to INFO):

ERROR:: Unable to compile break or watch point >> :) << { [SyntaxError: unmatched )]
  location: { first_line: 0, first_column: 8, last_column: 8 },
  toString: [Function],
  code: '0 || (:))',
  filename: undefined }
ERROR:: Unable to compile break or watch point >> process=this << [TypeError: Cannot read property '1' of null]
ERROR:: Unable to compile break or watch point >> ((x) -> x x) n << [TypeError: Cannot read property '1' of null]
ERROR:: Unable to compile break or watch point >> return << { [SyntaxError: cannot use a pure statement in an expression]
  location: { first_line: 0, first_column: 6, last_line: 0, last_column: 11 },
  toString: [Function],
  code: '0 || (return)',
  filename: undefined }
      ✓ should capture without values for invalid watch expressions in compiled code (207ms)

Apart from the first error, the remainder aren't very useful, but then again, I don't know CoffeeScript. We should look into these to make sure they make sense to CoffeeScripters.

Metadata

Metadata

Labels

🚨This issue needs some love.api: clouddebuggerIssues related to the googleapis/cloud-debug-nodejs API.triage meI really want to be triaged.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions