-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Throw on invalid platform return type (#62)
## Problem (PFL-69) If the type returned from the platform side is not the expected one, `invokeMethod returns null`. We are handling it by returning default values. ## Changes As this should never happen, and if it was to, it would be a bug, throw an exception instead of hiding the issue.
- Loading branch information
Showing
1 changed file
with
18 additions
and
15 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