-
-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed bug in checkArgs of jsdebug showing wrong error.
Now optional arguments get skipped when there are less arguments than possible params. Example of the previous behaviour: Imagine a signature like that: testFunction([bool1: bool], bool2: bool, someString: String); And a call like this: ``testFunction(true, "test");`` We would have printed: "Arguments mismatch: testFunction([bool1], bool2, someString) - String specified where bool expected ..." with bool2 marked red. Now we're skipping the first argument and print nothing.
- Loading branch information
Joscha Rohmann
committed
Aug 18, 2016
1 parent
b11a50d
commit fbb8831
Showing
1 changed file
with
33 additions
and
1 deletion.
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