Nicolás Ojeda Bär

Results 54 issues of Nicolás Ojeda Bär

``` val price_multiple_contract_scenarios : subrange:int * int -> job:_ -> currency:_ -> _ ``` (note extra space before `subrange`); with config ``` ocp-indent-compat ```

Kind/Bug :x:

On Windows, this package depends on Ctypes. A small C binding would be enough to replace its use (only two functions are needed). In general, it is a pity that...

There seems to be a small regression in 5.2 (probably due to #12451, cc @ccasin): top-level attributes in implementations are not correctly marked as "used". ``` $ echo '[@@@alert unstable...

Tested with 4.14.1 and `trunk`: ``` $ true > t.ml $ ocamlopt -verbose -output-complete-obj -o t.exe.o -I +unix unix.cmxa t.ml + x86_64-w64-mingw32-gcc -c -o "t.o" "C:\cygwin64\tmp\camlasm028ef9.s" + x86_64-w64-mingw32-gcc -c -o...

bug

Fixes #12487 See linked discussion for details. Roughly, under Mingw64 the command ``` $ touch t.ml $ ocamlopt -output-complete-obj -I +unix unix.cmxa t.ml -o t.exe.o ``` fails today. This command...

bug
portabilty

This is because on Windows it is common for `%%LIBDIR%%` in https://github.com/dbuenzli/down/blob/e3a4f38e02bf75fd0206d97dc74c6a5c26342023/src/down.top#L9 to contain backslashes, which need to be escaped (eg by using `String.escaped`) in https://github.com/dbuenzli/down/blob/e3a4f38e02bf75fd0206d97dc74c6a5c26342023/pkg/pkg.ml#L20

bug

Is it possible to specify where the terminal cursor should be placed, as well as showing it? I tried using `Notty.show_cursor` but didn't seem to work. What I had in...

See https://github.com/ocaml/RFCs/pull/46. The patch modifies the typechecking of array expressions and patterns: if the "expected type" is known to be a `floatarray` (eg because a suitable type annotation has been...

language-features
typing

`INSTALL_DIR` will typically contain backslashes under Windows, so it needs to be quoted so that it is correctly handled by the shell. Fixes: ``` The following actions will be performed:...

``` nojebar@PERVERSESHEAF:~/tmp$ cat bug.ml class type gui = object method sub: 'b. 'b -> 'b end class virtual local_sub = object method virtual sub: 'b. 'b -> 'b option end...

bug