Thread overview
[Issue 17260] Pending semantic analysis request
Mar 16, 2017
Heromyth
Mar 16, 2017
Heromyth
Mar 16, 2017
Heromyth
Mar 16, 2017
Heromyth
Mar 17, 2017
Rainer Schuetze
Mar 17, 2017
Rainer Schuetze
Mar 18, 2017
Heromyth
Mar 18, 2017
Heromyth
Jun 05, 2017
Rainer Schuetze
March 16, 2017
https://issues.dlang.org/show_bug.cgi?id=17260

--- Comment #1 from Heromyth <bitworld@qq.com> ---
Created attachment 1641
  --> https://issues.dlang.org/attachment.cgi?id=1641&action=edit
It's ok for some projects.

It's ok for some projects.

--
March 16, 2017
https://issues.dlang.org/show_bug.cgi?id=17260

Heromyth <bitworld@qq.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #1641|ok.png                      |error.png
           filename|                            |
   Attachment #1641|0                           |1
        is obsolete|                            |
   Attachment #1641|It's ok for some projects.  |Error snap
        description|                            |

--
March 16, 2017
https://issues.dlang.org/show_bug.cgi?id=17260

--- Comment #2 from Heromyth <bitworld@qq.com> ---
Comment on attachment 1641
  --> https://issues.dlang.org/attachment.cgi?id=1641
Error snap

Sorry, this image is obsolete

--
March 16, 2017
https://issues.dlang.org/show_bug.cgi?id=17260

--- Comment #3 from Heromyth <bitworld@qq.com> ---
Created attachment 1642
  --> https://issues.dlang.org/attachment.cgi?id=1642&action=edit
It's ok for some projects.

--
March 17, 2017
https://issues.dlang.org/show_bug.cgi?id=17260

Rainer Schuetze <r.sagitario@gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |r.sagitario@gmx.de

--- Comment #4 from Rainer Schuetze <r.sagitario@gmx.de> ---
I don't think this is a regression from 0.44-b2, nothing has chnaged in the semantic engine. Instead, it very much depends on where you trigger the completion box and what imports are in that file.

You are hitting an endless loop when the semantic engine tries to evaluate std.algorithm.setops.cartesianProduct for UFCS expansion. You might want to disable UFCS expansions in the Intellisense options as it will also improve the speed of the completion box.

--
March 17, 2017
https://issues.dlang.org/show_bug.cgi?id=17260

--- Comment #5 from Rainer Schuetze <r.sagitario@gmx.de> ---
This version doesn't fix the failing analysis, but cancels it with the next analysis request: https://ci.appveyor.com/project/rainers/visuald/build/job/fw9w1e6mq6h3dg9n/artifacts

--
March 18, 2017
https://issues.dlang.org/show_bug.cgi?id=17260

--- Comment #6 from Heromyth <bitworld@qq.com> ---
(In reply to Rainer Schuetze from comment #4)
> I don't think this is a regression from 0.44-b2, nothing has chnaged in the semantic engine. Instead, it very much depends on where you trigger the completion box and what imports are in that file.
> 

You are right. This problem is also there for VisualD-0.44-b2. It didn't happen so often during I used it.

--
March 18, 2017
https://issues.dlang.org/show_bug.cgi?id=17260

--- Comment #7 from Heromyth <bitworld@qq.com> ---
(In reply to Rainer Schuetze from comment #5)
> This version doesn't fix the failing analysis, but cancels it with the next analysis request: https://ci.appveyor.com/project/rainers/visuald/build/job/fw9w1e6mq6h3dg9n/ artifacts

Now, the pending message just shown for a while, and disappeared. However, the completion box wasn't there.

I have pushed my latest code to the repository for the test.

In onCreated() in module iup.color, I can get the box when I input "this." .

In onCreated() in module iup.menu, I failed to get the box when I input
"this.".

All the projects can be built successfully.

--
June 05, 2017
https://issues.dlang.org/show_bug.cgi?id=17260

Rainer Schuetze <r.sagitario@gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #8 from Rainer Schuetze <r.sagitario@gmx.de> ---
Completion on the respective code should work with https://github.com/dlang/visuald/releases/tag/v0.45.0-beta1

Enabling UFCS might yield too many entries, though.

--