AdamNiederer / AdamNiederer/ng2-mode

Lambda type in Lambda argument causes infinite loop

Aperta
#27 0 commenti 1 reazione 0 assegnatari Vedi su GitHub
Lingua principale
Emacs Lisp
Stelle
75
Fork
11
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.