Anarchos has quit [Quit: Vision[]: i've been blurred!]
Guest56 has quit [Quit: Client closed]
Anarchos has joined #ocaml
YuGiOhJCJ has joined #ocaml
Tuplanolla has quit [Quit: Leaving.]
rgrinberg has quit [Quit: My Unrecognized Mac has gone to sleep. ZZZzzz…]
Guest56 has joined #ocaml
euphores has quit [Read error: Connection reset by peer]
Anarchos has quit [Quit: Vision[]: i've been blurred!]
ygrek has quit [Remote host closed the connection]
Serpent7776 has joined #ocaml
bartholin has joined #ocaml
olle has joined #ocaml
Haudegen has joined #ocaml
mange has joined #ocaml
bartholin has quit [Quit: Leaving]
rgrinberg has joined #ocaml
rgrinberg has quit [Client Quit]
Haudegen has quit [Quit: Bin weg.]
chrisz has quit [Ping timeout: 248 seconds]
rynite has joined #ocaml
chrisz has joined #ocaml
mange has quit [Quit: Zzz...]
<discocaml_>
<goodnight_noom> Is ocamllsp supposed to work out of the box in dune preview? I've just tried setting it up, but running `ocamllsp` gives `[ERROR] No switch is currently set. Please use 'opam switch' to set or install a switch`. (`~/.local/share/dune/env/env.zsh is sourced correctly`)
<discocaml_>
<goodnight_noom> Is ocamllsp supposed to work out of the box in dune preview? I've just tried setting it up, but running `ocamllsp` gives `[ERROR] No switch is currently set. Please use 'opam switch' to set or install a switch`. (`~/.local/share/dune/env/env.zsh` is sourced correctly)
ygrek has joined #ocaml
Haudegen has joined #ocaml
<discocaml_>
<gooby_diatonic> Maybe ocamllsp is being run by a non-zsh shell
<discocaml_>
<goodnight_noom> It is run by a zsh shell. I tried doing `eval $(opam env)` (which I thought would not be necessary with dune's preview?) and now I'm getting:
<discocaml_>
<goodnight_noom> ```
<discocaml_>
<goodnight_noom> Error: Unable to solve dependencies for the following lock directories:
<discocaml_>
<goodnight_noom> ocaml.5.4.0: Incompatible with restriction: not(<> 5.2.1)
<discocaml_>
<goodnight_noom> ocaml.5.3.1: Incompatible with restriction: not(<> 5.2.1)
<discocaml_>
<goodnight_noom> ocaml.5.3.0: Incompatible with restriction: not(<> 5.2.1)
<discocaml_>
<goodnight_noom> ocaml.5.2.2: Incompatible with restriction: not(<> 5.2.1)
<discocaml_>
<goodnight_noom> ocaml.5.2.1: Incompatible with restriction: = 5.3.0
<discocaml_>
<goodnight_noom> ...
<discocaml_>
<goodnight_noom> ```
rynite has quit [Quit: WeeChat 4.4.1]
<discocaml_>
<JM> You shouldn't run opam env with dune preview, it's more likely than not that your lsp install via opam is interfering with ocaml lsp from dune tools...
<discocaml_>
<JM> There was a short conversation about lsp and dune preview yesterday in the #dune channel, you can have a look
pi3ce_ has quit [Read error: Connection reset by peer]
pi3ce has joined #ocaml
olle has quit [Ping timeout: 252 seconds]
YuGiOhJCJ has quit [Quit: YuGiOhJCJ]
<discocaml_>
<aguluman> I had to downgrade some packages to enable ocaml and ocaml compiler to be on 5.3.0
Haudegen has quit [Quit: Bin weg.]
bartholin has joined #ocaml
euphores has joined #ocaml
Haudegen has joined #ocaml
<discocaml_>
<nat.k> Forgive me if I've missed something silly, but I've tried updating to 5.3.0 to try out the new effect syntax, but I get this error
<discocaml_>
<nat.k> ```
<discocaml_>
<nat.k> Error: migration error: effect pattern is not supported before OCaml 5.03
<discocaml_>
<nat.k> ```
<discocaml_>
<nat.k> From everything I can tell (including `ocamlc --version`) I do have 5.3.0. Is there something in dune I need to change or something?