Volta icon indicating copy to clipboard operation
Volta copied to clipboard

error while building hello file from Getting Set Up

Open mikumikudice opened this issue 3 years ago • 0 comments

system:

OS: Pop 22.04 jammy kernel version: 5.19.0-76051900-generic

problem:

after fallowing this guide I can't finish the last step (battery build) because of the fallowing outputs:

[redacted]/Volta/src/volt/visitor/prettyprinter.d(73): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead.
[...]
[redacted]/Volta/lib/src/volta/parser/templates.d(244): Error: `opSub` is obsolete.  Use `opBinary(string op)(...) if (op == "-")` instead.

and other similar deprecation errors that may be irrelevant. the error persists building from hello/, root, using battery.txt or an equivalent battery.toml (I also received an error of a missing toml file in the hello folder)

I have all dependencies installed and updated to latest versions, including battery. I cloned all repos today from main branch. any help would be great.

mikumikudice avatar Sep 07 '22 21:09 mikumikudice