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

Decorators fail abruptly during compilation time. #30

Open
vishna opened this issue Sep 19, 2016 · 0 comments
Open

Decorators fail abruptly during compilation time. #30

vishna opened this issue Sep 19, 2016 · 0 comments
Labels

Comments

@vishna
Copy link
Contributor

vishna commented Sep 19, 2016

One of steps to repro:

  1. Decorator B static imports method from Decorator A.
  2. Refactor Decorator A by moving static method to other class or just remove the method completely.
  3. Compiler will now yield error as base decorator classes don't get generated. This is misleading as the reason for this failure is wrong static method import whereas all we get from the logs is error about decorator classes not being present. This is not helpful at all and you have to spend significant amounts of time to figure our where the problem lies.

Solution, if feasible, would be to always force generate base classes even if imports are incorrect, that way we can trace and fix errors more quickly.

@vishna vishna added the bug label Sep 19, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant