File tree Expand file tree Collapse file tree 3 files changed +655
-711
lines changed Expand file tree Collapse file tree 3 files changed +655
-711
lines changed Original file line number Diff line number Diff line change @@ -320,7 +320,6 @@ module Config = {
320
320
type t = {
321
321
module_system: string ,
322
322
warn_flags: string ,
323
- warn_error_flags: string ,
324
323
};
325
324
};
326
325
@@ -409,9 +408,6 @@ module Compiler = {
409
408
410
409
[@ bs . send ] external setWarnFlags : (t , string ) => bool = "setWarnFlags" ;
411
410
412
- [@ bs . send ]
413
- external setWarnErrorFlags : (t , string ) => bool = "setWarnErrorFlags" ;
414
-
415
411
let setConfig = (t: t , config: Config . t ): unit => {
416
412
let moduleSystem =
417
413
switch (config. module_system) {
@@ -425,7 +421,6 @@ module Compiler = {
425
421
);
426
422
427
423
t-> setWarnFlags(config. warn_flags)-> ignore ;
428
- t-> setWarnErrorFlags(config. warn_error_flags)-> ignore ;
429
424
};
430
425
431
426
[@ bs . send ]
Original file line number Diff line number Diff line change @@ -280,7 +280,8 @@ let updateErrors =
280
280
~cm: CM . t ,
281
281
errors,
282
282
) => {
283
- clearMarks(state);
283
+ Belt . Array . forEach(state. marked, mark => {mark-> CM . TextMarker . clear});
284
+ state. marked = [||] ;
284
285
cm-> CM . (clearGutter(errorGutterId));
285
286
286
287
let wrapper = cm-> CM . getWrapperElement;
You can’t perform that action at this time.
0 commit comments