-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ast: Fix type check for objects with non-json keys
Previously if there was a non-json key it would `panic("unreachable")` but it can fall back to using the dynamic property for these types. Fixes: #2183 Signed-off-by: Patrick East <east.patrick@gmail.com>
- Loading branch information
1 parent
834aaee
commit e869e88
Showing
2 changed files
with
20 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters