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

Don't know how to check if variable (when element class is org.elixir_lang.psi.impl.ElixirNoParenthesesStrictImpl) #456

Closed
sbennett33 opened this issue Oct 11, 2016 · 1 comment
Assignees
Labels
Milestone

Comments

@sbennett33
Copy link

Version

4.4.0

Exception

Message

Don't know how to check if variable (when element class is org.elixir_lang.psi.impl.ElixirNoParenthesesStrictImpl)

Excerpt

(f in FanTag, order_by)

Line(s) 14-14

Stacktrace

org.elixir_lang.errorreport.Logger.error(Logger.java:48)
org.elixir_lang.errorreport.Logger.error(Logger.java:31)
org.elixir_lang.reference.Callable.error(Callable.java:479)
org.elixir_lang.reference.Callable.isVariable(Callable.java:353)
org.elixir_lang.reference.Callable.isVariable(Callable.java:565)
org.elixir_lang.reference.Callable.isVariable(Callable.java:347)
org.elixir_lang.psi.impl.ElixirPsiImplUtil.getUseScope(ElixirPsiImplUtil.java:2450)
org.elixir_lang.psi.impl.ElixirMatchedUnqualifiedNoArgumentsCallImpl.getUseScope(ElixirMatchedUnqualifiedNoArgumentsCallImpl.java:95)
com.intellij.psi.impl.search.PsiSearchHelperImpl.getUseScope(PsiSearchHelperImpl.java:79)
com.intellij.psi.search.searches.ReferencesSearch$SearchParameters.getEffectiveSearchScope(ReferencesSearch.java:107)
com.intellij.psi.impl.search.CachesBasedRefSearcher.processQuery(CachesBasedRefSearcher.java:55)
com.intellij.psi.impl.search.CachesBasedRefSearcher.processQuery(CachesBasedRefSearcher.java:21)
com.intellij.openapi.application.QueryExecutorBase.execute(QueryExecutorBase.java:95)
com.intellij.util.ExecutorsQuery.processResults(ExecutorsQuery.java:45)
com.intellij.util.AbstractQuery.forEach(AbstractQuery.java:79)
com.intellij.util.MergeQuery.processSubQuery(MergeQuery.java:85)
com.intellij.util.MergeQuery.forEach(MergeQuery.java:57)
com.intellij.util.UniqueResultsQuery.process(UniqueResultsQuery.java:66)
com.intellij.util.UniqueResultsQuery.forEach(UniqueResultsQuery.java:56)
com.intellij.util.UniqueResultsQuery.findAll(UniqueResultsQuery.java:79)
com.intellij.find.findUsages.FindUsagesHandler.findReferencesToHighlight(FindUsagesHandler.java:176)
com.intellij.codeInsight.daemon.impl.IdentifierHighlighterPass.getUsages(IdentifierHighlighterPass.java:162)
com.intellij.codeInsight.daemon.impl.IdentifierHighlighterPass.getHighlightUsages(IdentifierHighlighterPass.java:139)
com.intellij.codeInsight.daemon.impl.IdentifierHighlighterPass.highlightTargetUsages(IdentifierHighlighterPass.java:195)
com.intellij.codeInsight.daemon.impl.IdentifierHighlighterPass.doCollectInformation(IdentifierHighlighterPass.java:106)
com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:70)
com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$null$0(PassExecutorService.java:434)
com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1026)
com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$1(PassExecutorService.java:427)
com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:494)
com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:443)
com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54)
com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.doRun(PassExecutorService.java:426)
com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:402)
com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:154)
java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
@KronicDeth KronicDeth changed the title [auto-generated] Don't know how to check if variable (when element class is org.elixir_lang.psi.impl.ElixirNoParenthesesStrictImpl) Oct 15, 2016
@KronicDeth KronicDeth added this to the v4.6.0 milestone Oct 15, 2016
@KronicDeth KronicDeth self-assigned this Oct 15, 2016
@KronicDeth
Copy link
Owner

org.elixir_lang.psi.impl.ElixirNoParenthesesStrictImpl is triggered when there is a space between the function and the arguments parentheses. I can reproduce with

from (f in FanTag, order_by)

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

2 participants