Commit 79f09da
committed
Add more detailed error message
When an object literal, for example, is returned that does not match the
type of the consturctor, add detail about a field that is required but
missing.
Do this by passing `node.expression` instead of `undefined` -- the rest of
the error reporting infrastructure is already in place.1 parent 067e1cc commit 79f09da
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12647 | 12647 | | |
12648 | 12648 | | |
12649 | 12649 | | |
12650 | | - | |
| 12650 | + | |
12651 | 12651 | | |
12652 | 12652 | | |
12653 | 12653 | | |
| |||
0 commit comments