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

Remove compiler stack #1000

Merged
merged 6 commits into from Nov 24, 2016
Merged

Remove compiler stack #1000

merged 6 commits into from Nov 24, 2016

Conversation

denisdefreyne
Copy link
Member

@denisdefreyne denisdefreyne commented Nov 23, 2016

Remove the compiler stack and print the details of the current in-compilation item rep.

Detailed description

This is done in two steps:

  1. Wrap every error raised during compilation in an error decorator that will contain the current item rep that is being compiled, and ensure that item rep is printed in the error handler.

  2. Remove the now unused compiler stack.

Before:

before

After:

after

To do

  • Tests
  • Cleanup
    • Rename WithItemRepError to CompilerError
    • Unwrap consistently; don’t check respond_to?

@denisdefreyne denisdefreyne merged commit 501b52c into master Nov 24, 2016
@denisdefreyne denisdefreyne deleted the wrap-item-rep-in-error branch November 24, 2016 08:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant