getify / literalizer

Specialized heuristic lexer for JS to identify complex literals
16 stars 2 forks source link

need more tests for: nesting of function-properties mixed with default function param values #25

Open getify opened 11 years ago

getify commented 11 years ago

tests like this to verify when function-property candidates are abandoned, etc:

var a={b(c={d:e=>{f;}}){a:
{}/a/g}};

Haven't found a breaking test where this is a bug, yet. But we don't yet have good test coverage of that complication, so need to investigate other tests and see if there's a bug, and at a minimum, include those tests.