File tree Expand file tree Collapse file tree 3 files changed +18
-4
lines changed
Expand file tree Collapse file tree 3 files changed +18
-4
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ unreleased
44 + merlin binary
55 - A new ` WRAPPING_PREFIX ` configuration directive that can be used to tell Merlin
66 what to append to the current unit name in the presence of wrapping (#1788 )
7+ - Add ` -unboxed-types ` and ` -no-unboxed-types ` as ocaml ignored flags (#1795 , fixes #1794 )
78
89merlin 5.1
910==========
Original file line number Diff line number Diff line change @@ -457,10 +457,10 @@ let ocaml_ignored_flags = [
457457 " -noautolink" ; " -no-check-prims" ; " -nodynlink" ; " -no-float-const-prop" ;
458458 " -no-keep-locs" ; " -no-principal" ; " -no-rectypes" ; " -no-strict-formats" ;
459459 " -no-strict-sequence" ; " -no-unbox-free-vars-of-clos" ;
460- " -no-unbox-specialised-args" ; " -O2 " ; " -O3 " ; " -Oclassic " ; " -opaque " ;
461- " -output-complete-obj" ; " -output-obj" ; " -p" ; " -pack" ;
462- " -remove-unused-arguments" ; " -S" ; " -shared" ; " -unbox-closures" ; " -v " ;
463- " -verbose" ; " -where" ;
460+ " -no-unbox-specialised-args" ; " -no-unboxed-types " ; " -O2 " ; " -O3 " ;
461+ " -Oclassic " ; " -opaque " ; " - output-complete-obj" ; " -output-obj" ; " -p" ; " -pack" ;
462+ " -remove-unused-arguments" ; " -S" ; " -shared" ; " -unbox-closures" ;
463+ " -unboxed-types " ; " -v " ; " - verbose" ; " -where" ;
464464]
465465
466466let ocaml_ignored_parametrized_flags = [
Original file line number Diff line number Diff line change 1+ $ $ MERLIN single errors -filename main. ml -unboxed-types
2+ {
3+ " class" : " return" ,
4+ " value" : [],
5+ " notifications" : []
6+ }
7+
8+ $ $ MERLIN single errors -filename main. ml -no-unboxed-types
9+ {
10+ " class" : " return" ,
11+ " value" : [],
12+ " notifications" : []
13+ }
You can’t perform that action at this time.
0 commit comments