danielearwicker / doop

Succint immutable record classes for TypeScript
MIT License
12 stars 0 forks source link

In Safari, SyntaxError: Strict mode does not allow function declarations in a lexically nested statement #1

Closed danielearwicker closed 8 years ago

danielearwicker commented 8 years ago

The doop tests run in jasmine but only currently run on node (V8 doesn't check for this error). Should also have been trapped by the TypeScript compiler - a known issue in TypeScript 1.8 - see #7122

Need to set up testing on multiple platforms, then fix it.

danielearwicker commented 8 years ago

This error is detected on Node 0.10 - 0.12, but not 4.0 and later.