Chromium Code Reviews
DescriptionMake unmatched static call a runtime error.
The runtime error message will be constructed using NoSuchMethodError.toString(), which prints "incorrect number of arguments passed to method", which may be a bit confusing for calls where the named optional arguments do not match, but we can emit a more precise message in the resolver.
BUG=http://code.google.com/p/dart/issues/detail?id=6217
Committed: https://code.google.com/p/dart/source/detail?r=14172
Patch Set 1 #
Total comments: 6
Patch Set 2 : Refactor checks and add status file changes. #Patch Set 3 : Revert change to comment. #Patch Set 4 : Remove duplicate call. #Patch Set 5 : Fix a bug. #
Total comments: 9
Patch Set 6 : Refactored resolution code. #
Total comments: 5
Patch Set 7 : Add bug number to test. #Patch Set 8 : Remove isValid. #Messages
Total messages: 11 (0 generated)
|