Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] parser: parsing empty string throws meaningful error
`parse("")` throws an error like `cannot ready property of undefined`. With this commit, it throws a user friendly message. Note that it doesn't cause any (known) real bug, but let's make it more robust nonetheless. closes #4830 Task: 0 X-original-commit: 76c0de4 Signed-off-by: Rémi Rahir (rar) <[email protected]> Signed-off-by: Lucas Lefèvre (lul) <[email protected]>
- Loading branch information