Thread overview
workspace-d dsymbol Visual Code macOS
Feb 06
Joel
Feb 06
Joel
Feb 06
Joel
Feb 12
Lucia
February 06
I'm using a macOS (10.12.6) computer. workspace-d used to work, but now it says it's not installed, (I think since I quit out of Visual Code before shutting down the computer). I tried compiling with with the option, but got this:

Installing into /Users/joelchristensen/.vscode/extensions/webfreak.code-d-0.16.3/bin
Removing old version
Removed old version
> git clone --recursive --depth=1 https://github.com/Pure-D/workspace-d.git workspace-d
Cloning into 'workspace-d'...
> dub upgrade
Upgrading project in /Users/joelchristensen/.vscode/extensions/webfreak.code-d-0.16.3/bin/workspace-d
> dub build --build=release
Performing "release" build using dmd for x86_64.
libdparse 0.8.0-alpha.3: building configuration "library"...
dfmt 0.6.0-alpha.1: building configuration "library"...
/usr/local/opt/dmd/include/dlang/dmd/std/math.d(543,33): Deprecation: integral promotion not done for `-x`, use '-transition=intpromote' switch or `-cast(int)(x)`
emsi_containers 0.5.3: building configuration "library"...
dsymbol 0.2.9: building configuration "library"...
../../../../../.dub/packages/dsymbol-0.2.9/dsymbol/src/dsymbol/conversion/first.d(189,15): Error: no property 'symbol' for type 'const(Type2)'
../../../../../.dub/packages/dsymbol-0.2.9/dsymbol/src/dsymbol/conversion/first.d(189,42): Error: no property 'symbol' for type 'const(Type2)'
../../../../../.dub/packages/dsymbol-0.2.9/dsymbol/src/dsymbol/conversion/first.d(192,23): Error: no property 'symbol' for type 'const(Type2)'
../../../../../.dub/packages/emsi_containers-0.5.3/emsi_containers/src/containers/unrolledlist.d(504,15): Deprecation: integral promotion not done for `~this.registry`, use '-transition=intpromote' switch or `~cast(int)(this.registry)`
../../../../../.dub/packages/emsi_containers-0.5.3/emsi_containers/src/containers/unrolledlist.d(504,15): Deprecation: integral promotion not done for `~this.registry`, use '-transition=intpromote' switch or `~cast(int)(this.registry)`
../../../../../.dub/packages/emsi_containers-0.5.3/emsi_containers/src/containers/unrolledlist.d(504,15): Deprecation: integral promotion not done for `~this.registry`, use '-transition=intpromote' switch or `~cast(int)(this.registry)`
../../../../../.dub/packages/dsymbol-0.2.9/dsymbol/src/dsymbol/conversion/first.d(248,35): Error: no property 'identifierList' for type 'const(AliasDeclaration)'
../../../../../.dub/packages/emsi_containers-0.5.3/emsi_containers/src/containers/unrolledlist.d(504,15): Deprecation: integral promotion not done for `~this.registry`, use '-transition=intpromote' switch or `~cast(int)(this.registry)`
../../../../../.dub/packages/dsymbol-0.2.9/dsymbol/src/dsymbol/conversion/first.d(938,14): Error: no property 'symbol' for type 'const(Type2)'
../../../../../.dub/packages/dsymbol-0.2.9/dsymbol/src/dsymbol/conversion/first.d(939,18): Error: no property 'symbol' for type 'const(Type2)'
../../../../../.dub/packages/emsi_containers-0.5.3/emsi_containers/src/containers/unrolledlist.d(504,15): Deprecation: integral promotion not done for `~this.registry`, use '-transition=intpromote' switch or `~cast(int)(this.registry)`
../../../../../.dub/packages/emsi_containers-0.5.3/emsi_containers/src/containers/unrolledlist.d(504,15): Deprecation: integral promotion not done for `~this.registry`, use '-transition=intpromote' switch or `~cast(int)(this.registry)`
../../../../../.dub/packages/emsi_containers-0.5.3/emsi_containers/src/containers/unrolledlist.d(504,15): Deprecation: integral promotion not done for `~this.registry`, use '-transition=intpromote' switch or `~cast(int)(this.registry)`
../../../../../.dub/packages/emsi_containers-0.5.3/emsi_containers/src/containers/unrolledlist.d(504,15): Deprecation: integral promotion not done for `~this.registry`, use '-transition=intpromote' switch or `~cast(int)(this.registry)`
../../../../../.dub/packages/emsi_containers-0.5.3/emsi_containers/src/containers/unrolledlist.d(504,15): Deprecation: integral promotion not done for `~this.registry`, use '-transition=intpromote' switch or `~cast(int)(this.registry)`
../../../../../.dub/packages/dsymbol-0.2.9/dsymbol/src/dsymbol/semantic.d(123,21): Error: no property 'symbol' for type 'dparse.ast.Type2'
../../../../../.dub/packages/dsymbol-0.2.9/dsymbol/src/dsymbol/semantic.d(124,21): Error: no property 'symbol' for type 'dparse.ast.Type2'
../../../../../.dub/packages/dsymbol-0.2.9/dsymbol/src/dsymbol/semantic.d(128,21): Error: no property 'symbol' for type 'dparse.ast.Type2'
../../../../../.dub/packages/dsymbol-0.2.9/dsymbol/src/dsymbol/semantic.d(130,21): Error: no property 'symbol' for type 'dparse.ast.Type2'
dmd failed with exit code 1.
Failed to install workspace-d (Error code 2)
February 06
On Tuesday, 6 February 2018 at 05:41:19 UTC, Joel wrote:
> I'm using a macOS (10.12.6) computer. workspace-d used to work, but now it says it's not installed, (I think since I quit out of Visual Code before shutting down the computer). I tried compiling with with the option, but got this:
>
> [...]

after a reload it should either fix itself or break horribly by not compiling because of a deadlock in dub.

Either way try removing ~/.dub/packages/workspace-d* and delete the bin folder in the extension path and reload (also try serve-d if that didn't help)

If that still doesn't work report an issue to https://github.com/Pure-D/workspace-d
February 06
On Tuesday, 6 February 2018 at 19:36:54 UTC, WebFreak001 wrote:
> On Tuesday, 6 February 2018 at 05:41:19 UTC, Joel wrote:
>> I'm using a macOS (10.12.6) computer. workspace-d used to work, but now it says it's not installed, (I think since I quit out of Visual Code before shutting down the computer). I tried compiling with with the option, but got this:
>>
>> [...]
>
> after a reload it should either fix itself or break horribly by not compiling because of a deadlock in dub.
>
> Either way try removing ~/.dub/packages/workspace-d* and delete the bin folder in the extension path and reload (also try serve-d if that didn't help)
>
> If that still doesn't work report an issue to https://github.com/Pure-D/workspace-d

workspace-d and serve-d don't exist in my dub packages.
February 06
On Tuesday, 6 February 2018 at 20:43:55 UTC, Joel wrote:
> On Tuesday, 6 February 2018 at 19:36:54 UTC, WebFreak001 wrote:
>> On Tuesday, 6 February 2018 at 05:41:19 UTC, Joel wrote:
>>> I'm using a macOS (10.12.6) computer. workspace-d used to work, but now it says it's not installed, (I think since I quit out of Visual Code before shutting down the computer). I tried compiling with with the option, but got this:
>>>
>>> [...]
>>
>> after a reload it should either fix itself or break horribly by not compiling because of a deadlock in dub.
>>
>> Either way try removing ~/.dub/packages/workspace-d* and delete the bin folder in the extension path and reload (also try serve-d if that didn't help)
>>
>> If that still doesn't work report an issue to https://github.com/Pure-D/workspace-d
>
> workspace-d and serve-d don't exist in my dub packages.

can you try

git clone https://github.com/Pure-D/workspace-d.git
cd workspace-d
dub upgrade
dub build

and then put the resulting path of the executables in your user settings as "d.workspacedPath"
February 06
[snip]

On Tuesday, 6 February 2018 at 20:59:54 UTC, WebFreak001 wrote:
> can you try
>
> git clone https://github.com/Pure-D/workspace-d.git
> cd workspace-d
> dub upgrade
> dub build
>
> and then put the resulting path of the executables in your user settings as "d.workspacedPath"

I got the same compile time errors.
February 12
On Tuesday, 6 February 2018 at 21:25:27 UTC, Joel wrote:
> [snip]
>
> On Tuesday, 6 February 2018 at 20:59:54 UTC, WebFreak001 wrote:
>> can you try
>>
>> git clone https://github.com/Pure-D/workspace-d.git
>> cd workspace-d
>> dub upgrade
>> dub build
>>
>> and then put the resulting path of the executables in your user settings as "d.workspacedPath"
>
> I got the same compile time errors.

Did you manage to solve it? I'm facing the exact same error

February 13
On Monday, 12 February 2018 at 14:06:49 UTC, Lucia wrote:
> On Tuesday, 6 February 2018 at 21:25:27 UTC, Joel wrote:
>> [snip]
>>
>> On Tuesday, 6 February 2018 at 20:59:54 UTC, WebFreak001 wrote:
>>> can you try
>>>
>>> git clone https://github.com/Pure-D/workspace-d.git
>>> cd workspace-d
>>> dub upgrade
>>> dub build
>>>
>>> and then put the resulting path of the executables in your user settings as "d.workspacedPath"
>>
>> I got the same compile time errors.
>
> Did you manage to solve it? I'm facing the exact same error

I seem to have gotten serve-d to build by modifying the dub.selections.json at AppData\Roaming\code-d\bin\serve-d\dub.selections.json:
swap "libdparse": "0.8.0-alpha.4",
for "libdparse": "0.7.1",

A quick fetch and build of dsymbol that was successful defaulted to using the 0.7.1 libdparse library. That being said, it emits a lot of intpromote warnings and a LNK4255.