AdamNiederer / AdamNiederer/ng2-mode

Lambda type in Lambda argument causes infinite loop

オープン
#27 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る
主要言語
Emacs Lisp
スター
75
フォーク
11
PR マージ指標
30日以内にマージされた PR はありません

説明

Code such as:
```
(f: (s) => boolean) => f
```
will cause ng2-mode's `ng2-ts--highlight-lambda-args-fn` to enter an infinite loop.

Initially I think this is due to `ng2-ts--inside-lambda-args-p` finding the first `=>` and not the lambda's own `=>`

I am working on a patch and will post an update with it as soon as I can.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。