chindy has quit [Remote host closed the connection]
chindy has joined #ocaml
ravenousmoose has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
barockobamo has joined #ocaml
orbifx has quit [Ping timeout: 246 seconds]
barockobamo has quit [Ping timeout: 240 seconds]
ravenousmoose has joined #ocaml
Haudegen has joined #ocaml
eric_G has joined #ocaml
jnavila has joined #ocaml
jp_ has joined #ocaml
jp_ has quit [Ping timeout: 255 seconds]
hphhphhphhph has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 246 seconds]
ravenousmoose has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dhil has joined #ocaml
ravenousmoose has joined #ocaml
FreeBirdLjj has joined #ocaml
AnAverageHuman has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 250 seconds]
keep_learning_M has quit [Quit: This computer has gone to sleep]
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 268 seconds]
sapristi_ has quit [Ping timeout: 246 seconds]
jp_ has joined #ocaml
jp_ has quit [Ping timeout: 240 seconds]
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 240 seconds]
sonologico has quit [Ping timeout: 246 seconds]
sapristi_ has joined #ocaml
sonologico has joined #ocaml
sapristi_ has quit [Remote host closed the connection]
sapristi has joined #ocaml
<sapristi>
any reason I could get this error at compile time : The constructor Not_Found does not belong to type exn
<sapristi>
I'm pretty sure I haven't redefined Not_Found
<companion_cube>
it's Not_found
<companion_cube>
small f
<sapristi>
...
<sapristi>
thanks companion_cube
<companion_cube>
use merlin, I never type Not_found, just Not_<tab>
<companion_cube>
;)
<sapristi>
yes I have merlin but I should install code completion
<companion_cube>
✔
<ggole>
The suggestions don't work for exception constructors?
<companion_cube>
in the toplevel it does tell me "did you mean Not_found?"
<ggole>
I don't see that
<companion_cube>
but not the toplevel error message in a file :/
<ggole>
In fact it seems as if constructors of extensible types don't get suggestions (4.07.1)
<ggole>
Ah, it depends on the error message
<ggole>
Not_Found;; => Error: Unbound constructor Not_Found/Hint: Did you mean Not_found?
<companion_cube>
yeah
<companion_cube>
but in `raise`, the type is known to be exn
<ggole>
But raise Not_Found;; => Error: This variant expression is expected to have type exn/ The constructor Not_Found does not belong to type exn
<companion_cube>
so different message
<companion_cube>
probably worth an issue
<ggole>
And so (Not_Found : exn), the same as raise
<ggole>
Yep
<ggole>
Maybe it's annoying to restrict the suggested identifiers to the type
<ggole>
And they didn't want to give nonsense suggestions
ravenousmoose has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sapristi_ has joined #ocaml
sapristi has quit [Ping timeout: 258 seconds]
ziyourenxiang has quit [Ping timeout: 245 seconds]
ravenousmoose has joined #ocaml
<octachron>
ggole, the handling of extensible variants is indeed a bit different from regular one. Nevertheless, I already have an open PR to extend the spellchecking hint to extensible variants: https://github.com/ocaml/ocaml/pull/1706
<ggole>
Oh, nice
Haudegen has quit [Ping timeout: 245 seconds]
jp_ has joined #ocaml
jp_ has quit [Ping timeout: 245 seconds]
dhil has quit [Ping timeout: 245 seconds]
amiloradovsky has joined #ocaml
ravenousmoose has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Haudegen has joined #ocaml
Haudegen has quit [Remote host closed the connection]
themsay has quit [Read error: Connection reset by peer]
themsay has joined #ocaml
themsay has quit [Ping timeout: 244 seconds]
jp_ has joined #ocaml
jp_ has quit [Ping timeout: 244 seconds]
AnAverageHuman has quit [Ping timeout: 256 seconds]