pdsl icon indicating copy to clipboard operation
pdsl copied to clipboard

Misplaced comma should throw

Open ryardley opened this issue 4 years ago • 0 comments

This should throw because there is a missing comma but it doesn't

p`{| 
  name: "foo",
  exact: {
    hello:"hello"
  }
  loose: {
    hello: "hello",
    ...
  }
|}`({
  name: "foo",
  exact: {
    hello: "hello"
  },
  loose: {
    hello: "hello",
    extra: true,
    other: 10
  }
});

ryardley avatar Apr 03 '20 09:04 ryardley