PMunch / nimlsp

Language Server Protocol implementation for Nim
MIT License
416 stars 50 forks source link

nimble install nimlsp fails to build with latest devel #156

Closed Clonkk closed 1 year ago

Clonkk commented 1 year ago

/home/user/.nimble/pkgs2/ast_pattern_matching-1.0.0-b5b08c554b072eed227f98a437f7333584cf957e/ast_pattern_matching.nim(575, 28) Error: invalid indentation Tip: 20 messages have been suppressed, use --verbose to show them. nimble.nim(212) buildFromDir

With latest :

Nim Compiler Version 1.9.1 [Linux: amd64]
Compiled at 2023-03-24
Copyright (c) 2006-2023 by Andreas Rumpf

git hash: 55636a2913d0b0dec6b24568cb6baef43a9220c1
active boot switches: -d:release

It seems the error is mostly from outside nimlsp code but it affects Nimlsp.

SolitudeSF commented 1 year ago

uninstall ast_pattern_matching, run nimble refresh and rebuild.

Clonkk commented 1 year ago

That worked, thanks.