Skip to content

Commit

Permalink
add note about issues with ranges
Browse files Browse the repository at this point in the history
  • Loading branch information
phil294 committed Sep 17, 2022
1 parent 21bfe86 commit 08aab21
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@ Overall, this implementation works, but is not optimal. It is eagerly waiting to
There is lot of hacky code to get this all to work. One thing to keep in mind is that the generated JS code that tsserver gets to provide compilation/type errors for differs from normal CS compilation output. You can inspect the generated JS code for the active file using the command `CoffeeSense: Show generated JavaScript for current file`.

#### Known problems
- Compilation:
- Sometimes ranges fail to compile properly ([reason](https://github.com/jashkenas/coffeescript/pull/5395#issuecomment-1243036327). This will be fixed at some point.
- Types:
- Annotating constructor `@parameters` with JSDoc can not provide type hints when you use a variable with the same name outside ([issue](https://github.com/phil294/coffeesense/issues/5)). This will be fixed at some point.
- General:
Expand Down

0 comments on commit 08aab21

Please sign in to comment.