Skip to content
This repository has been archived by the owner on Feb 2, 2024. It is now read-only.

hiframes: better error reporting for getattr #64

Closed
wants to merge 4 commits into from
Closed

hiframes: better error reporting for getattr #64

wants to merge 4 commits into from

Conversation

quasilyte
Copy link
Contributor

TODO: fill "unimplemented" lists, so HPAT can report
"unimplemented yet" instead of "unknown attribute".

Signed-off-by: Iskander Sharipov quasilyte@gmail.com

- Report bound instancemethod references that were not
  immediately invoked (see #63)
- Report undefined (unknown) data frame attributes access

TODO: fill "unimplemented" lists, so HPAT can report
"unimplemented yet" instead of "unknown attribute".

Signed-off-by: Iskander Sharipov <quasilyte@gmail.com>
@quasilyte
Copy link
Contributor Author

Also addresses #60.

@coveralls
Copy link

coveralls commented Oct 5, 2018

Coverage Status

Coverage decreased (-0.2%) to 82.351% when pulling 7fa1542 on Quasilyte:quasilyte/getattr_error_reporting into aafa7a3 on IntelLabs:master.

@ehsantn
Copy link
Contributor

ehsantn commented Oct 7, 2018

I don't think we should add this instance method restriction. Dead code elimination removes unused ones easily, and we can catch other invalid cases (e.g. returned ones). #63 seems like an issue with inlining.

quasilyte and others added 2 commits October 8, 2018 11:32
Signed-off-by: Iskander Sharipov <quasilyte@gmail.com>
Signed-off-by: Iskander Sharipov <iskander.sharipov@intel.com>
@ehsantn
Copy link
Contributor

ehsantn commented Oct 10, 2018

I see there are still TODOs. Let me know when this is ready for review and merge.

@quasilyte
Copy link
Contributor Author

Not working on HPAT anymore, sorry.

@quasilyte quasilyte closed this Oct 23, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants