From 35519bb13a5c69c8847e7f9e5a02093bc05448b4 Mon Sep 17 00:00:00 2001 From: Nicholas Shahan Date: Thu, 13 Jun 2019 22:48:57 +0000 Subject: [PATCH] Add DDC CHANGELOG entry intended for D24 release Change-Id: I4420abd857b17f0135e7e879e9188843bb54f2b7 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/106022 Reviewed-by: Bob Nystrom Commit-Queue: Nicholas Shahan --- CHANGELOG.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index cfbf05ce29b..c03ee98df41 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -111,6 +111,19 @@ class B extends A {}; [35097]: https://github.com/dart-lang/sdk/issues/35097 +### Dart for the Web + +#### Dart Dev Compiler (DDC) + +* Improve `NoSuchMethod` errors for failing dynamic calls. Now they include + specific information about the nature of the error such as: + * Attempting to call a null value. + * Calling an object instance with a null `call()` method. + * Passing too few or too many arguments. + * Passing incorrect named arguments. + * Passing too few or too many type arguments. + * Passing type arguments to a non-generic method. + ### Tools #### Linter