forked from mozilla/sphinx-js
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix ir.ts handling of missing attributes (mozilla#130)
We can't use a ? unless we fix things on the Python side because `undefined` turns into an entirely missing entry. If we want to turn it into `None` we need to either put a `null` in javascript or set `None` as the default value in `ir.py`. I removed a lot of the `?`'s because we don't use them, but qualifiedName and sourcefilename do sometimes seem to go missing right now. Maybe we can fix that later.
- Loading branch information
Showing
3 changed files
with
10 additions
and
10 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
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