JS: Blacklist another cyclic property

This commit is contained in:
Asger Feldthaus
2020-03-11 13:09:37 +00:00
parent e3fed39f88
commit 6645df93ad
5 changed files with 10 additions and 1 deletions

View File

@@ -0,0 +1 @@
semmle-extractor-options: --tolerate-parse-errors

View File

@@ -0,0 +1,2 @@
| tst.ts:1:1:1:1 | Error: '}' expected. |
| tst.ts:1:25:1:25 | Error: '{' expected. |

View File

@@ -0,0 +1,4 @@
import javascript
from JSParseError err
select err

View File

@@ -0,0 +1 @@
var fn = (x: number) => return x * 2;