Kobayashi

Results 69 comments of Kobayashi

Enabling cabal flag `ghc-lib` for package `stylish-haskell` should help. Example: ``` cabal install --constraint "stylish-haskell +ghc-lib" stylish-haskell ```

I added a dimension to the test matrix, but Mergify is waiting for the old one. Strange.

@michaelpj After some rewrites, I'm finally happy with the current version. The most notable change is that now we always store a UTF-8 encoded `ShortByteString` in `NormalizedFilePath`, so that `toNormalizedFilePath...

> Does this still use old directory/base for file operations? `NormalizedFilePath` in `lsp-types` doesn't use `directory` or some `FilePath` based IO functions. In HLS, we still use the old directory/base....

Converting between `OsPath` and `FilePath` requires the ability to express failure. So we can not preserve the signature of functions like this, if `NormalizedFilePath` contains `OsPath` but not `FilePath`. ```...

But keep in mind that using the new `filepath` requires projects that depends on `ghc` [to upgrade to GHC 9.6](https://github.com/haskell/haskell-language-server/issues/3046), which is not possible for HLS in the near future....

> could we do a CPP dance We can, and I think it won't be too hard. But clients will see different API when using different versions of GHC, that...

> I wonder if these "corruption leaks" have to do with the effect noticed in #5743 I encountered this too. Without deleting the global store or using `CABAL_STORE_DIR` to specify...

> Could we just add to every test that depend on `directory` the `--store-dir=foo` option? I'll give it a try. And there is nothing special about `directory`; it's because there...