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

Improve logging for CallDefinitionClause.renderElement #609

Merged
merged 10 commits into from Feb 10, 2017
Merged

Conversation

KronicDeth
Copy link
Owner

@KronicDeth KronicDeth commented Feb 8, 2017

Resolves #563

Changelog

Enhancements

Bug Fixes

  • Skip import Kernel in kernel.ex to prevent stack overflow due to recursive import
  • Strip all outer parentheses for left type operand, so that (+value) can be see as + operator type spec.
  • Use advice from IndexNotReadyException documentation and check DumbService.isDumb(Project) before calling StubIndex.getElements in Module and module.MultiResolve.indexNameElements.
  • Don't assert that LookupElement#getPsiElement is not null in CallDefinitionCluase.renderElement
  • Update to ant 1.10.1 because 1.10.0 is no longer hosted.

If multiResolve causes a StackOverflow for
org.elixir_lang.annotator.Callable.visitCall, when catch it and use
errorreport logger to log the element.
@KronicDeth KronicDeth added this to the v5.0.0 milestone Feb 8, 2017
@KronicDeth KronicDeth self-assigned this Feb 8, 2017
@KronicDeth KronicDeth changed the title 563 Improve logging for CallDefinitionClause.renderElement Feb 8, 2017
Prevents stack overflow due to recursive import.
Fixes #606

Use advice from IndexNotReadyException documentation and check
DumbService.isDumb(Project) before calling StubIndex.getElements.
…eption

Fixes #606

Use advice from IndexNotReadyException documentation and check
DumbService.isDumb(Project) before calling StubIndex.getElements.
Fixes #563

Log what is Object when there is no PsiElement in LookupElement.
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