We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DDC does not appear to be using the correct symbol. Also our NoSuchMethodError message is not especially helpful. Here's an example:
$ cat test.dart main() { dynamic c = new Object(); try { c.x = 1; } catch(e) { print(e); } } $ dart -c test.dart NoSuchMethodError: Class 'Object' has no instance setter 'x='. Receiver: Instance of 'Object' Tried calling: x=1 $ ddc test.dart NoSuchMethodError : method not found: 'Symbol("x")' Receiver: Instance of 'Object' Arguments: [1]
The text was updated successfully, but these errors were encountered:
The spec doesn't actually say which NoSuchMethodError to throw, or which properties it has, so this is purely about consistency, not correctness.
NoSuchMethodError
Sorry, something went wrong.
this appears to be fixed:
class C { noSuchMethod(i) { print(i.memberName); } } main() { dynamic c = new C(); c.x = 1; c.x; }
prints the correct symbols in DDC
No branches or pull requests
DDC does not appear to be using the correct symbol. Also our NoSuchMethodError message is not especially helpful. Here's an example:
The text was updated successfully, but these errors were encountered: