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

adding bang completion for template func, struct, class #744

Merged

Conversation

vushu
Copy link
Contributor

@vushu vushu commented May 9, 2023

I am attempting to add bang completion for templated symbols, for now it should show calltip for functions, structs and classes.
I sadly couldn't figure out to get it working with serve-d.

@vushu vushu requested a review from WebFreak001 May 9, 2023 21:28
@github-actions
Copy link

github-actions bot commented May 9, 2023

DCD BUILD FAILED
❌ Basic dub build failed! Please check your changes again.

Build statistics:

 statistics (-before, +after)
 client size=1055832 bin/dcd-client
-server size=3014768 bin/dcd-server
-rough build time=75s
+server size=3018864 bin/dcd-server
+rough build time=76s
 
-DCD run_tests.sh 	Elapsed (wall clock) time (h:mm:ss or m:ss): 0:05.83
-DCD run_tests.sh 	Maximum resident set size (kbytes): 13488
+DCD run_tests.sh 	Elapsed (wall clock) time (h:mm:ss or m:ss): 0:05.94
+DCD run_tests.sh 	Maximum resident set size (kbytes): 13316
 
-short requests: (219x)
-    min request time =     0.009ms
+short requests: (227x)
+    min request time =     0.017ms
     10th percentile  =     0.123ms
-    median time      =     0.426ms
-    90th percentile  =     0.768ms
-    max request time =     1.908ms
+    median time      =     0.466ms
+    90th percentile  =     0.781ms
+    max request time =     1.541ms
 
 
 top 5 GC sources in server:
Full build output
DUB version 1.31.1, built on May 12 2023
LDC - the LLVM D compiler (1.32.2):
  based on DMD v2.102.2 and LLVM 15.0.7
  built with LDC - the LLVM D compiler (1.32.2)
  Default target: x86_64-unknown-linux-gnu
  Host CPU: skylake-avx512
  http://dlang.org - http://wiki.dlang.org/LDC

  Registered Targets:
    aarch64    - AArch64 (little endian)
    aarch64_32 - AArch64 (little endian ILP32)
    aarch64_be - AArch64 (big endian)
    amdgcn     - AMD GCN GPUs
    arm        - ARM
    arm64      - ARM64 (little endian)
    arm64_32   - ARM64 (little endian ILP32)
    armeb      - ARM (big endian)
    avr        - Atmel AVR Microcontroller
    bpf        - BPF (host endian)
    bpfeb      - BPF (big endian)
    bpfel      - BPF (little endian)
    hexagon    - Hexagon
    lanai      - Lanai
    mips       - MIPS (32-bit big endian)
    mips64     - MIPS (64-bit big endian)
    mips64el   - MIPS (64-bit little endian)
    mipsel     - MIPS (32-bit little endian)
    msp430     - MSP430 [experimental]
    nvptx      - NVIDIA PTX 32-bit
    nvptx64    - NVIDIA PTX 64-bit
    ppc32      - PowerPC 32
    ppc32le    - PowerPC 32 LE
    ppc64      - PowerPC 64
    ppc64le    - PowerPC 64 LE
    r600       - AMD GPUs HD2XXX-HD6XXX
    riscv32    - 32-bit RISC-V
    riscv64    - 64-bit RISC-V
    sparc      - Sparc
    sparcel    - Sparc LE
    sparcv9    - Sparc V9
    systemz    - SystemZ
    thumb      - Thumb
    thumbeb    - Thumb (big endian)
    ve         - VE
    wasm32     - WebAssembly 32-bit
    wasm64     - WebAssembly 64-bit
    x86        - 32-bit X86: Pentium-Pro and above
    x86-64     - 64-bit X86: EM64T and AMD64
    xcore      - XCore
   Upgrading project in /home/runner/work/DCD/DCD/
             Not upgrading sub package in dsymbol
             Not upgrading sub package in common
             
Note: specify -s to also upgrade sub packages.
     Warning Warning: License in subpackage dcd:dsymbol is different than it's parent package, this is discouraged.
     Warning Invalid source/import path: /home/runner/work/DCD/DCD/bin
    Starting Performing "release" build using ldc2 for x86_64.
    Building msgpack-d 1.0.4: building configuration [default]
    Building dcd:common 0.16.0-beta.1+commit.20.g9e49e6d: building configuration [library]
   Pre-build Running commands
common/src/dcd/common/messages.d(264,3): Deprecation: `return` statements cannot be in `scope(failure)` bodies.
common/src/dcd/common/messages.d(264,3):        Use try-catch blocks for this purpose
    Building emsi_containers 0.9.0: building configuration [library]
    Building libdparse 0.22.0: building configuration [library]
    Building dcd:dsymbol 0.16.0-beta.1+commit.20.g9e49e6d: building configuration [library]
../../../.dub/packages/emsi_containers-0.9.0/emsi_containers/src/containers/ttree.d(936,19): Deprecation: reference to local variable `this` assigned to non-scope `(*newRoot).right`
../../../.dub/packages/emsi_containers-0.9.0/emsi_containers/src/containers/ttree.d(950,18): Deprecation: reference to local variable `this` assigned to non-scope `(*this.left).parent`
../../../.dub/packages/emsi_containers-0.9.0/emsi_containers/src/containers/ttree.d(951,19): Deprecation: reference to local variable `this` assigned to non-scope `(*newRoot).right`
../../../.dub/packages/emsi_containers-0.9.0/emsi_containers/src/containers/ttree.d(908,18): Deprecation: reference to local variable `this` assigned to non-scope `(*newRoot).left`
../../../.dub/packages/emsi_containers-0.9.0/emsi_containers/src/containers/ttree.d(922,19): Deprecation: reference to local variable `this` assigned to non-scope `(*this.right).parent`
../../../.dub/packages/emsi_containers-0.9.0/emsi_containers/src/containers/ttree.d(923,18): Deprecation: reference to local variable `this` assigned to non-scope `(*newRoot).left`
../../../.dub/packages/emsi_containers-0.9.0/emsi_containers/src/containers/ttree.d(936,19): Deprecation: reference to local variable `this` assigned to non-scope `(*newRoot).right`
../../../.dub/packages/emsi_containers-0.9.0/emsi_containers/src/containers/ttree.d(950,18): Deprecation: reference to local variable `this` assigned to non-scope `(*this.left).parent`
../../../.dub/packages/emsi_containers-0.9.0/emsi_containers/src/containers/ttree.d(951,19): Deprecation: reference to local variable `this` assigned to non-scope `(*newRoot).right`
../../../.dub/packages/emsi_containers-0.9.0/emsi_containers/src/containers/ttree.d(908,18): Deprecation: reference to local variable `this` assigned to non-scope `(*newRoot).left`
../../../.dub/packages/emsi_containers-0.9.0/emsi_containers/src/containers/ttree.d(922,19): Deprecation: reference to local variable `this` assigned to non-scope `(*this.right).parent`
../../../.dub/packages/emsi_containers-0.9.0/emsi_containers/src/containers/ttree.d(923,18): Deprecation: reference to local variable `this` assigned to non-scope `(*newRoot).left`
../../../.dub/packages/emsi_containers-0.9.0/emsi_containers/src/containers/ttree.d(936,19): Deprecation: reference to local variable `this` assigned to non-scope `(*newRoot).right`
../../../.dub/packages/emsi_containers-0.9.0/emsi_containers/src/containers/ttree.d(950,18): Deprecation: reference to local variable `this` assigned to non-scope `(*this.left).parent`
../../../.dub/packages/emsi_containers-0.9.0/emsi_containers/src/containers/ttree.d(951,19): Deprecation: reference to local variable `this` assigned to non-scope `(*newRoot).right`
../../../.dub/packages/emsi_containers-0.9.0/emsi_containers/src/containers/ttree.d(908,18): Deprecation: reference to local variable `this` assigned to non-scope `(*newRoot).left`
../../../.dub/packages/emsi_containers-0.9.0/emsi_containers/src/containers/ttree.d(922,19): Deprecation: reference to local variable `this` assigned to non-scope `(*this.right).parent`
../../../.dub/packages/emsi_containers-0.9.0/emsi_containers/src/containers/ttree.d(923,18): Deprecation: reference to local variable `this` assigned to non-scope `(*newRoot).left`
../../../.dub/packages/emsi_containers-0.9.0/emsi_containers/src/containers/ttree.d(936,19): Deprecation: reference to local variable `this` assigned to non-scope `(*newRoot).right`
../../../.dub/packages/emsi_containers-0.9.0/emsi_containers/src/containers/ttree.d(950,18): Deprecation: reference to local variable `this` assigned to non-scope `(*this.left).parent`
../../../.dub/packages/emsi_containers-0.9.0/emsi_containers/src/containers/ttree.d(951,19): Deprecation: reference to local variable `this` assigned to non-scope `(*newRoot).right`
../../../.dub/packages/emsi_containers-0.9.0/emsi_containers/src/containers/ttree.d(908,18): Deprecation: reference to local variable `this` assigned to non-scope `(*newRoot).left`
../../../.dub/packages/emsi_containers-0.9.0/emsi_containers/src/containers/ttree.d(922,19): Deprecation: reference to local variable `this` assigned to non-scope `(*this.right).parent`
../../../.dub/packages/emsi_containers-0.9.0/emsi_containers/src/containers/ttree.d(923,18): Deprecation: reference to local variable `this` assigned to non-scope `(*newRoot).left`
../../../.dub/packages/emsi_containers-0.9.0/emsi_containers/src/containers/ttree.d(936,19): Deprecation: reference to local variable `this` assigned to non-scope `(*newRoot).right`
../../../.dub/packages/emsi_containers-0.9.0/emsi_containers/src/containers/ttree.d(950,18): Deprecation: reference to local variable `this` assigned to non-scope `(*this.left).parent`
../../../.dub/packages/emsi_containers-0.9.0/emsi_containers/src/containers/ttree.d(951,19): Deprecation: reference to local variable `this` assigned to non-scope `(*newRoot).right`
../../../.dub/packages/emsi_containers-0.9.0/emsi_containers/src/containers/ttree.d(908,18): Deprecation: reference to local variable `this` assigned to non-scope `(*newRoot).left`
../../../.dub/packages/emsi_containers-0.9.0/emsi_containers/src/containers/ttree.d(922,19): Deprecation: reference to local variable `this` assigned to non-scope `(*this.right).parent`
../../../.dub/packages/emsi_containers-0.9.0/emsi_containers/src/containers/ttree.d(923,18): Deprecation: reference to local variable `this` assigned to non-scope `(*newRoot).left`
dsymbol/src/dsymbol/conversion/first.d(726,7): Deprecation: function `dparse.ast.IfStatement.identifier` is deprecated - use condition.identifier
dsymbol/src/dsymbol/conversion/first.d(731,52): Deprecation: function `dparse.ast.IfStatement.identifier` is deprecated - use condition.identifier
dsymbol/src/dsymbol/conversion/first.d(732,46): Deprecation: function `dparse.ast.IfStatement.identifier` is deprecated - use condition.identifier
dsymbol/src/dsymbol/conversion/first.d(733,8): Deprecation: function `dparse.ast.IfStatement.type` is deprecated - use condition.type
dsymbol/src/dsymbol/conversion/first.d(734,42): Deprecation: function `dparse.ast.IfStatement.type` is deprecated - use condition.type
dsymbol/src/dsymbol/conversion/first.d(738,36): Deprecation: function `dparse.ast.IfStatement.expression` is deprecated - use condition.expression
dsymbol/src/dsymbol/conversion/first.d(739,33): Deprecation: function `dparse.ast.IfStatement.expression` is deprecated - use condition.expression
    Building dcd 0.16.0-beta.1+commit.20.g9e49e6d: building configuration [client]
     Linking dcd-client
     Warning Warning: License in subpackage dcd:dsymbol is different than it's parent package, this is discouraged.
    Starting Performing "release" build using ldc2 for x86_64.
    Building msgpack-d 1.0.4: building configuration [default]
    Building dcd:common 0.16.0-beta.1+commit.20.g9e49e6d: building configuration [library]
   Pre-build Running commands
common/src/dcd/common/messages.d(264,3): Deprecation: `return` statements cannot be in `scope(failure)` bodies.
common/src/dcd/common/messages.d(264,3):        Use try-catch blocks for this purpose
    Building emsi_containers 0.9.0: building configuration [library]
    Building libdparse 0.22.0: building configuration [library]
    Building dcd:dsymbol 0.16.0-beta.1+commit.20.g9e49e6d: building configuration [library]
../../../.dub/packages/emsi_containers-0.9.0/emsi_containers/src/containers/ttree.d(936,19): Deprecation: reference to local variable `this` assigned to non-scope `(*newRoot).right`
../../../.dub/packages/emsi_containers-0.9.0/emsi_containers/src/containers/ttree.d(950,18): Deprecation: reference to local variable `this` assigned to non-scope `(*this.left).parent`
../../../.dub/packages/emsi_containers-0.9.0/emsi_containers/src/containers/ttree.d(951,19): Deprecation: reference to local variable `this` assigned to non-scope `(*newRoot).right`
../../../.dub/packages/emsi_containers-0.9.0/emsi_containers/src/containers/ttree.d(908,18): Deprecation: reference to local variable `this` assigned to non-scope `(*newRoot).left`
../../../.dub/packages/emsi_containers-0.9.0/emsi_containers/src/containers/ttree.d(922,19): Deprecation: reference to local variable `this` assigned to non-scope `(*this.right).parent`
../../../.dub/packages/emsi_containers-0.9.0/emsi_containers/src/containers/ttree.d(923,18): Deprecation: reference to local variable `this` assigned to non-scope `(*newRoot).left`
../../../.dub/packages/emsi_containers-0.9.0/emsi_containers/src/containers/ttree.d(936,19): Deprecation: reference to local variable `this` assigned to non-scope `(*newRoot).right`
../../../.dub/packages/emsi_containers-0.9.0/emsi_containers/src/containers/ttree.d(950,18): Deprecation: reference to local variable `this` assigned to non-scope `(*this.left).parent`
../../../.dub/packages/emsi_containers-0.9.0/emsi_containers/src/containers/ttree.d(951,19): Deprecation: reference to local variable `this` assigned to non-scope `(*newRoot).right`
../../../.dub/packages/emsi_containers-0.9.0/emsi_containers/src/containers/ttree.d(908,18): Deprecation: reference to local variable `this` assigned to non-scope `(*newRoot).left`
../../../.dub/packages/emsi_containers-0.9.0/emsi_containers/src/containers/ttree.d(922,19): Deprecation: reference to local variable `this` assigned to non-scope `(*this.right).parent`
../../../.dub/packages/emsi_containers-0.9.0/emsi_containers/src/containers/ttree.d(923,18): Deprecation: reference to local variable `this` assigned to non-scope `(*newRoot).left`
../../../.dub/packages/emsi_containers-0.9.0/emsi_containers/src/containers/ttree.d(936,19): Deprecation: reference to local variable `this` assigned to non-scope `(*newRoot).right`
../../../.dub/packages/emsi_containers-0.9.0/emsi_containers/src/containers/ttree.d(950,18): Deprecation: reference to local variable `this` assigned to non-scope `(*this.left).parent`
../../../.dub/packages/emsi_containers-0.9.0/emsi_containers/src/containers/ttree.d(951,19): Deprecation: reference to local variable `this` assigned to non-scope `(*newRoot).right`
../../../.dub/packages/emsi_containers-0.9.0/emsi_containers/src/containers/ttree.d(908,18): Deprecation: reference to local variable `this` assigned to non-scope `(*newRoot).left`
../../../.dub/packages/emsi_containers-0.9.0/emsi_containers/src/containers/ttree.d(922,19): Deprecation: reference to local variable `this` assigned to non-scope `(*this.right).parent`
../../../.dub/packages/emsi_containers-0.9.0/emsi_containers/src/containers/ttree.d(923,18): Deprecation: reference to local variable `this` assigned to non-scope `(*newRoot).left`
../../../.dub/packages/emsi_containers-0.9.0/emsi_containers/src/containers/ttree.d(936,19): Deprecation: reference to local variable `this` assigned to non-scope `(*newRoot).right`
../../../.dub/packages/emsi_containers-0.9.0/emsi_containers/src/containers/ttree.d(950,18): Deprecation: reference to local variable `this` assigned to non-scope `(*this.left).parent`
../../../.dub/packages/emsi_containers-0.9.0/emsi_containers/src/containers/ttree.d(951,19): Deprecation: reference to local variable `this` assigned to non-scope `(*newRoot).right`
../../../.dub/packages/emsi_containers-0.9.0/emsi_containers/src/containers/ttree.d(908,18): Deprecation: reference to local variable `this` assigned to non-scope `(*newRoot).left`
../../../.dub/packages/emsi_containers-0.9.0/emsi_containers/src/containers/ttree.d(922,19): Deprecation: reference to local variable `this` assigned to non-scope `(*this.right).parent`
../../../.dub/packages/emsi_containers-0.9.0/emsi_containers/src/containers/ttree.d(923,18): Deprecation: reference to local variable `this` assigned to non-scope `(*newRoot).left`
../../../.dub/packages/emsi_containers-0.9.0/emsi_containers/src/containers/ttree.d(936,19): Deprecation: reference to local variable `this` assigned to non-scope `(*newRoot).right`
../../../.dub/packages/emsi_containers-0.9.0/emsi_containers/src/containers/ttree.d(950,18): Deprecation: reference to local variable `this` assigned to non-scope `(*this.left).parent`
../../../.dub/packages/emsi_containers-0.9.0/emsi_containers/src/containers/ttree.d(951,19): Deprecation: reference to local variable `this` assigned to non-scope `(*newRoot).right`
../../../.dub/packages/emsi_containers-0.9.0/emsi_containers/src/containers/ttree.d(908,18): Deprecation: reference to local variable `this` assigned to non-scope `(*newRoot).left`
../../../.dub/packages/emsi_containers-0.9.0/emsi_containers/src/containers/ttree.d(922,19): Deprecation: reference to local variable `this` assigned to non-scope `(*this.right).parent`
../../../.dub/packages/emsi_containers-0.9.0/emsi_containers/src/containers/ttree.d(923,18): Deprecation: reference to local variable `this` assigned to non-scope `(*newRoot).left`
dsymbol/src/dsymbol/conversion/first.d(726,7): Deprecation: function `dparse.ast.IfStatement.identifier` is deprecated - use condition.identifier
dsymbol/src/dsymbol/conversion/first.d(731,52): Deprecation: function `dparse.ast.IfStatement.identifier` is deprecated - use condition.identifier
dsymbol/src/dsymbol/conversion/first.d(732,46): Deprecation: function `dparse.ast.IfStatement.identifier` is deprecated - use condition.identifier
dsymbol/src/dsymbol/conversion/first.d(733,8): Deprecation: function `dparse.ast.IfStatement.type` is deprecated - use condition.type
dsymbol/src/dsymbol/conversion/first.d(734,42): Deprecation: function `dparse.ast.IfStatement.type` is deprecated - use condition.type
dsymbol/src/dsymbol/conversion/first.d(738,36): Deprecation: function `dparse.ast.IfStatement.expression` is deprecated - use condition.expression
dsymbol/src/dsymbol/conversion/first.d(739,33): Deprecation: function `dparse.ast.IfStatement.expression` is deprecated - use condition.expression
    Building dcd 0.16.0-beta.1+commit.20.g9e49e6d: building configuration [server]
../../../.dub/packages/emsi_containers-0.9.0/emsi_containers/src/containers/ttree.d(936,19): Deprecation: reference to local variable `this` assigned to non-scope `(*newRoot).right`
../../../.dub/packages/emsi_containers-0.9.0/emsi_containers/src/containers/ttree.d(950,18): Deprecation: reference to local variable `this` assigned to non-scope `(*this.left).parent`
../../../.dub/packages/emsi_containers-0.9.0/emsi_containers/src/containers/ttree.d(951,19): Deprecation: reference to local variable `this` assigned to non-scope `(*newRoot).right`
../../../.dub/packages/emsi_containers-0.9.0/emsi_containers/src/containers/ttree.d(908,18): Deprecation: reference to local variable `this` assigned to non-scope `(*newRoot).left`
../../../.dub/packages/emsi_containers-0.9.0/emsi_containers/src/containers/ttree.d(922,19): Deprecation: reference to local variable `this` assigned to non-scope `(*this.right).parent`
../../../.dub/packages/emsi_containers-0.9.0/emsi_containers/src/containers/ttree.d(923,18): Deprecation: reference to local variable `this` assigned to non-scope `(*newRoot).left`
     Linking dcd-server
STAT:statistics (-before, +after)
STAT:client size=1055832 bin/dcd-client
STAT:server size=3018864 bin/dcd-server
STAT:rough build time=76s
STAT:
Shutting down currently-running server...
Running tests for unix sockets
Starting server...
Server is running
�[33munix:tc001:�[0m ... �[32mPass�[0m
�[33munix:tc002:�[0m ... �[32mPass�[0m
�[33munix:tc003:�[0m ... �[32mPass�[0m
�[33munix:tc004:�[0m ... �[32mPass�[0m
�[33munix:tc005:�[0m ... �[32mPass�[0m
�[33munix:tc006:�[0m ... �[32mPass�[0m
�[33munix:tc007:�[0m ... �[32mPass�[0m
�[33munix:tc008:�[0m ... �[32mPass�[0m
�[33munix:tc009:�[0m ... �[32mPass�[0m
�[33munix:tc010:�[0m ... �[32mPass�[0m
�[33munix:tc011:�[0m ... �[32mPass�[0m
�[33munix:tc012:�[0m ... �[32mPass�[0m
�[33munix:tc013:�[0m ... �[32mPass�[0m
�[33munix:tc014:�[0m ... �[32mPass�[0m
�[33munix:tc015:�[0m ... �[32mPass�[0m
�[33munix:tc016:�[0m ... �[32mPass�[0m
�[33munix:tc017:�[0m ... �[32mPass�[0m
�[33munix:tc018:�[0m ... �[32mPass�[0m
�[33munix:tc019:�[0m ... �[32mPass�[0m
�[33munix:tc020:�[0m ... �[32mPass�[0m
�[33munix:tc021:�[0m ... �[32mPass�[0m
�[33munix:tc022:�[0m ... �[32mPass�[0m
�[33munix:tc023:�[0m ... �[32mPass�[0m
�[33munix:tc024:�[0m ... �[32mPass�[0m
�[33munix:tc025:�[0m ... �[32mPass�[0m
�[33munix:tc026:�[0m ... �[32mPass�[0m
�[33munix:tc027:�[0m ... �[32mPass�[0m
�[33munix:tc028:�[0m ... �[32mPass�[0m
�[33munix:tc029:�[0m ... �[32mPass�[0m
�[33munix:tc030:�[0m ... �[32mPass�[0m
�[33munix:tc031:�[0m ... �[32mPass�[0m
�[33munix:tc032:�[0m ... �[32mPass�[0m
�[33munix:tc033:�[0m ... �[32mPass�[0m
�[33munix:tc034:�[0m ... �[32mPass�[0m
�[33munix:tc035:�[0m ... �[32mPass�[0m
�[33munix:tc036:�[0m ... �[32mPass�[0m
�[33munix:tc037:�[0m ... �[32mPass�[0m
�[33munix:tc038:�[0m ... �[32mPass�[0m
�[33munix:tc039:�[0m ... �[32mPass�[0m
�[33munix:tc040:�[0m ... �[32mPass�[0m
�[33munix:tc041:�[0m ... �[32mPass�[0m
�[33munix:tc042:�[0m ... �[32mPass�[0m
�[33munix:tc043:�[0m ... �[32mPass�[0m
�[33munix:tc044:�[0m ... �[32mPass�[0m
�[33munix:tc045:�[0m ... �[32mPass�[0m
�[33munix:tc046:�[0m ... �[32mPass�[0m
�[33munix:tc047:�[0m ... �[32mPass�[0m
�[33munix:tc048:�[0m ... �[32mPass�[0m
�[33munix:tc049:�[0m ... �[32mPass�[0m
�[33munix:tc050:�[0m ... �[32mPass�[0m
�[33munix:tc051:�[0m ... �[32mPass�[0m
�[33munix:tc052:�[0m ... �[32mPass�[0m
�[33munix:tc053:�[0m ... �[32mPass�[0m
�[33munix:tc054:�[0m ... �[32mPass�[0m
�[33munix:tc055:�[0m ... �[32mPass�[0m
�[33munix:tc056:�[0m ... �[32mPass�[0m
�[33munix:tc057:�[0m ... �[32mPass�[0m
�[33munix:tc058:�[0m ... �[32mPass�[0m
�[33munix:tc059:�[0m ... �[32mPass�[0m
�[33munix:tc060:�[0m ... �[32mPass�[0m
�[33munix:tc061:�[0m ... �[32mPass�[0m
�[33munix:tc062:�[0m ... �[32mPass�[0m
�[33munix:tc620:�[0m ... �[32mPass�[0m
�[33munix:tc_access_modifiers:�[0m ... �[32mPass�[0m
�[33munix:tc_accesschain_type:�[0m ... �[32mPass�[0m
�[33munix:tc_anon_class:�[0m ... �[32mPass�[0m
�[33munix:tc_anon_struct:�[0m ... �[32mPass�[0m
�[33munix:tc_bang_op_or_template:�[0m ... �[32mPass�[0m
�[33munix:tc_base_template_type:�[0m ... �[32mPass�[0m
�[33munix:tc_body_var:�[0m ... �[32mPass�[0m
�[33munix:tc_calltip_in_func:�[0m ... �[32mPass�[0m
�[33munix:tc_char_dot:�[0m ... �[32mPass�[0m
�[33munix:tc_complete_kw:�[0m ... �[32mPass�[0m
�[33munix:tc_currmod_fqn:�[0m ... �[32mPass�[0m
�[33munix:tc_ditto_scopes:�[0m ... �[32mPass�[0m
�[33munix:tc_empty_module:�[0m ... �[32mPass�[0m
00000�[33munix:tc_empty_requests:�[0m ... �[32mPass�[0m
�[33munix:tc_erroneous_body_content:�[0m ... �[32mPass�[0m
�[33munix:tc_extended_ditto:�[0m ... �[32mPass�[0m
�[33munix:tc_extended_types:�[0m ... �[32mPass�[0m
�[33munix:tc_if_auto_array:�[0m ... �[32mPass�[0m
�[33munix:tc_if_var:�[0m ... �[32mPass�[0m
�[33munix:tc_import_symbol_list:�[0m ... �[32mPass�[0m
�[33munix:tc_incomplete_switch:�[0m ... �[32mPass�[0m
�[33munix:tc_issue558:�[0m ... �[32mPass�[0m
�[33munix:tc_locate_ufcs_function:�[0m ... �[32mPass�[0m
�[33munix:tc_middle_of_utf:�[0m ... �[32mPass�[0m
�[33munix:tc_module_scope_op:�[0m ... �[32mPass�[0m
�[33munix:tc_named_mixin:�[0m ... �[32mPass�[0m
�[33munix:tc_opaque_structs:�[0m ... �[32mPass�[0m
�[33munix:tc_pointer_type_printing:�[0m ... �[32mPass�[0m
�[33munix:tc_pointers:�[0m ... �[32mPass�[0m
import: /home/runner/work/DCD/DCD/tests/tc_recursive_public_import/testing
�[33munix:tc_recursive_public_import:�[0m ... �[32mPass�[0m
�[33munix:tc_rm_import:�[0m ... �[32mPass�[0m
�[33munix:tc_scope_mess:�[0m ... �[32mPass�[0m
�[33munix:tc_selective_import_list:�[0m ... �[32mPass�[0m
�[33munix:tc_super_scope:�[0m ... �[32mPass�[0m
�[33munix:tc_template_bang_completion:�[0m ... �[32mPass�[0m
�[33munix:tc_template_param_props:�[0m ... �[32mPass�[0m
�[33munix:tc_traits:�[0m ... �[32mPass�[0m
�[33munix:tc_ufcs_alias_this_completion:�[0m ... �[32mPass�[0m
�[33munix:tc_ufcs_array_type_completion:�[0m ... �[32mPass�[0m
�[33munix:tc_ufcs_calltip_in_func:�[0m ... �[32mPass�[0m
�[33munix:tc_ufcs_fundamental_types_completion:�[0m ... �[32mPass�[0m
�[33munix:tc_ufcs_pointer_type_completion:�[0m ... �[32mPass�[0m
�[33munix:tc_ufcs_string_and_string_literal_completion:�[0m ... �[32mPass�[0m
�[33munix:tc_ufcs_struct_completion:�[0m ... �[32mPass�[0m
Shutting down server...
�[32m107 tests passed and 0 failed.�[0m
STAT:DCD run_tests.sh 	Elapsed (wall clock) time (h:mm:ss or m:ss): 0:05.94
STAT:DCD run_tests.sh 	Maximum resident set size (kbytes): 13316
STAT:
STAT:short requests: (227x)
STAT:    min request time =     0.017ms
STAT:    10th percentile  =     0.123ms
STAT:    median time      =     0.466ms
STAT:    90th percentile  =     0.781ms
STAT:    max request time =     1.541ms
STAT:
STAT:
     Warning Warning: License in subpackage dcd:dsymbol is different than it's parent package, this is discouraged.
    Starting Performing "profile-gc" build using dmd for x86_64.
    Building msgpack-d 1.0.4: building configuration [default]
Segmentation fault (core dumped)
Error dmd failed with exit code 139.
DCD BUILD FAILED
Shutting down currently-running server...
Running tests for unix sockets
Starting server...
Server isn't up yet. Sleeping for 1s
Server isn't up yet. Sleeping for 2s
Server isn't up yet. Sleeping for 4s
Server isn't up yet. Sleeping for 8s
Server isn't up yet. Sleeping for 16s
�[33munix:tc001:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc002:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc003:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc004:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc005:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc006:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc007:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc008:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc009:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc010:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc011:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc012:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc013:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc014:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc015:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc016:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc017:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc018:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc019:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc020:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc021:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc022:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc023:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc024:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc025:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc026:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc027:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc028:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc029:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc030:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc031:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
0a1
> /imports/std/stdio.d	0
�[33munix:tc032:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
0a1,5
> stdin	5
> 5
> 21
> 27
> 33
�[33munix:tc033:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
0a1,3
> /imports/object.d	22
> 0
> 12
�[33munix:tc034:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
0a1
> 00000
\ No newline at end of file
�[33munix:tc035:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc036:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc037:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc038:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc039:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc040:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc041:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc042:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc043:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc044:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc045:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc046:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc047:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc048:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc049:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc050:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc051:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc052:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc053:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc054:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc055:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc056:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc057:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc058:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc059:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc060:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc061:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc062:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc620:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc_access_modifiers:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc_accesschain_type:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc_anon_class:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc_anon_struct:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc_bang_op_or_template:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc_base_template_type:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc_body_var:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc_calltip_in_func:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc_char_dot:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc_complete_kw:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc_currmod_fqn:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc_ditto_scopes:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc_empty_module:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc_empty_requests:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc_erroneous_body_content:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc_extended_ditto:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc_extended_types:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc_if_auto_array:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc_if_var:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc_import_symbol_list:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc_incomplete_switch:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc_issue558:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc_locate_ufcs_function:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc_middle_of_utf:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc_module_scope_op:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc_named_mixin:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc_opaque_structs:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc_pointer_type_printing:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc_pointers:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
import: /home/runner/work/DCD/DCD/tests/tc_recursive_public_import/testing
�[33munix:tc_recursive_public_import:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc_rm_import:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc_scope_mess:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc_selective_import_list:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc_super_scope:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc_template_bang_completion:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc_template_param_props:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc_traits:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc_ufcs_alias_this_completion:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc_ufcs_array_type_completion:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc_ufcs_calltip_in_func:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc_ufcs_fundamental_types_completion:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc_ufcs_pointer_type_completion:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc_ufcs_string_and_string_literal_completion:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
�[33munix:tc_ufcs_struct_completion:�[0m ... �[31mFail�[0m
Server no longer running.
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
Restarting server...
Shutting down server...
�[31m0 tests passed and 107 failed.�[0m
�[31mSTDERR:�[0m
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory
�[31mSTDOUT:�[0m
STAT:top 5 GC sources in server:
Missing profilegc.log file!
Tail for stderr.txt:
./run_tests.sh: line 55: ../bin/dcd-server: No such file or directory

tests/tc_template_bang_completion/expected.txt Outdated Show resolved Hide resolved
src/dcd/server/autocomplete/complete.d Outdated Show resolved Hide resolved
dsymbol/src/dsymbol/builtin/symbols.d Outdated Show resolved Hide resolved
src/dcd/server/autocomplete/complete.d Outdated Show resolved Hide resolved
src/dcd/server/autocomplete/complete.d Outdated Show resolved Hide resolved
src/dcd/server/autocomplete/complete.d Outdated Show resolved Hide resolved
vushu and others added 2 commits May 10, 2023 06:50
Co-authored-by: Jan Jurzitza <gh@webfreak.org>
Co-authored-by: Jan Jurzitza <gh@webfreak.org>
@vushu vushu force-pushed the adding_template_bang_completion branch from 148b53c to 7db918c Compare May 10, 2023 21:36
@vushu vushu force-pushed the adding_template_bang_completion branch 2 times, most recently from 49081de to d99fbef Compare May 11, 2023 07:54
@vushu vushu requested a review from WebFreak001 May 11, 2023 10:11
@vushu vushu force-pushed the adding_template_bang_completion branch from d99fbef to 277b0d0 Compare May 11, 2023 19:18
@vushu vushu force-pushed the adding_template_bang_completion branch from 277b0d0 to 434f86f Compare May 12, 2023 18:16

// Check if we are doing an index operation calltip hint
bool isIndexOperator(T)(T beforeTokens) pure {
return beforeTokens.length >= 2 && beforeTokens[$ - 2] == tok!"identifier" && beforeTokens[$ - 1] == tok!"[";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This isn't quite accurate checking just for identifier tokens, since these are index operator accesses that wrongly return false:

x()[...]
foo!int[123]

but these aren't index operator accesses:

cast(int[])[...]
cast(int[...])x
{ int[...] x; }

and this wrongly returns true:

cast(T[...])x

since this is in the context of a declaration. Note that T also can define a static opIndex, which in other contexts would be called.

Also the other util methods aren't quite accurate either, since they also only check for identifiers. I don't think we can really make them accurate without somehow integrating with the parser, so I think this is fine as first implementation, but I'm going to not make them public, so others don't start using these not-yet-perfect functions and instead copy-paste them into their projects if needed.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see :)
I definitely also suspected that I didn't cover all cases. Thanks for the feedback.

Also changes struct and class calltips from `Something(T)` to
`Something!(T)`
@WebFreak001 WebFreak001 merged commit fa98057 into dlang-community:master May 15, 2023
29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants