gedaiu / visual-trial

3 stars 0 forks source link

Visual-trial don't works anymore : cannot deduce function from argument types `!()(shared(Throwable[string]))` #6

Open Zardoz89 opened 3 years ago

Zardoz89 commented 3 years ago
> /home/luis/.vscode/extensions/bosz.visual-trial-0.6.0/trial-0.6.2/trial/trial -t Failing test -r visualtrial
Generate main file: /home/luis/repos/dlang/pijamas/trial_root.d
Looking for files inside `pijamas`
We will embed the `trial:lifecycle` code inside the project.
Performing "unittest" build using dmd for x86_64.
pijamas 0.3.5+commit.19.g8626d2d: building configuration "trial-root"...
trial_root.d(3729,17): Error: template `object.clear` cannot deduce function from argument types `!()(shared(Throwable[string]))`, candidates are:
/usr/include/dmd/druntime/import/object.d(2631,6):        `clear(Value, Key)(Value[Key] aa)`
/usr/include/dmd/druntime/import/object.d(2637,6):        `clear(Value, Key)(Value[Key]* aa)`
trial_root.d(10158,5): Deprecation: variable `idx` is shadowing variable `trial_root.ScrollbackBuffer.drawInto.idx`. Rename the `foreach` variable.
dmd failed with exit code 1.

/home/luis/.vscode/extensions/bosz.visual-trial-0.6.0/trial-0.6.2/trial/trial process exited with code 1
gedaiu commented 3 years ago

Unfortunately I stopped supporting this tool, I did not really need it and there were no interest from the community to have good ide support. Feel free to fork it or open a pr with a fix :)