Skip to content
New issue

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

Need a 'HasMember' functionality in the debugger API so that it takes care of all the Language spec issues #11871

Closed
a-siva opened this issue Jul 17, 2013 · 4 comments
Assignees
Labels
type-bug Incorrect behavior (everything from a crash to more subtle misbehavior)

Comments

@a-siva
Copy link
Contributor

a-siva commented Jul 17, 2013

Comment snippets from Jacob:

Requested Dart API:
"LibraryHasMember" or something similar.

Basically we need an internal and external version depending on whether the
question you are asking is:
"Does library Foo have member Bar when used externally and does it have member
Bar when you are within library Bar itself.
   return !Dart_IsError(Dart_GetField(library, name))
   83 || !Dart_IsError(Dart_GetClass(library, name))
   84 || Dart_IsFunction(Dart_LookupFunction(library, name));

Requested Dart Api:
"ClassHasMember"
would be nice if this was one line.
return !Dart_IsError(Dart_GetField(clazz, name)) || Dart_IsFunction(Dart_Loo
      kupFunction(clazz, name));

@a-siva
Copy link
Contributor Author

a-siva commented Sep 13, 2013

Added Dartium-Debugger label.

@a-siva
Copy link
Contributor Author

a-siva commented Sep 18, 2013

Added this to the Later milestone.

@kasperl
Copy link

kasperl commented Jul 10, 2014

Removed this from the Later milestone.
Added Oldschool-Milestone-Later label.

@kasperl
Copy link

kasperl commented Aug 4, 2014

Removed Oldschool-Milestone-Later label.

@a-siva a-siva self-assigned this Aug 4, 2014
@kevmoo kevmoo added type-bug Incorrect behavior (everything from a crash to more subtle misbehavior) and removed priority-unassigned labels Feb 29, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-bug Incorrect behavior (everything from a crash to more subtle misbehavior)
Projects
None yet
Development

No branches or pull requests

4 participants