@moonbit/moonbit-lsp 0.1.202512153 → 0.1.202512163

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/moonbit-lsp +1 -1
  2. package/package.json +1 -1
package/moonbit-lsp CHANGED
@@ -93,7 +93,7 @@ pub fn f() -> Unit {
93
93
  bytecode executable program file has wrong magic number)`,`(Cannot print locations:
94
94
  bytecode executable program file cannot be opened;
95
95
  -- too many open files. Try running with OCAMLRUNPARAM=b=2)`],YEr="Fun.Finally_raised: ",KEr="Stdlib.Fun.Finally_raised",QEr=UX,ZEr="Hashtbl: unsupported hash table format",hEr=B0,gEr=[3,0,3],dEr=D1,jEr=vk,rDr="</",eDr=B0,nDr=vk,tDr=ub,uDr=B0,xDr=ll,sDr=B0,iDr=B0,fDr=B0,oDr=B0,aDr=[0,B0],vDr=B0,cDr=B0,lDr=B0,pDr=B0,mDr=[0,B0,0,B0],yDr="Stdlib.Format.String_tag",kDr=[0,"camlinternalOO.ml",Hr0,50],_Dr=m4,bDr=gW0,wDr=m4,PDr="In_channel.input_all: channel content is larger than maximum string length",TDr=[0,[18,[1,[0,0,B0]],[15,[17,0,[17,4,0]]]],"@[%a@]@."],CDr=b2,XDr=jK0,RDr=bu,SDr=[0,[15,[17,2,0]],rg0],ADr=[1,0],IDr=[1,0],EDr=b2,DDr=jK0,UDr=bu,ODr=[0,[15,[17,2,0]],rg0],MDr="nat_of_int",NDr="make_nat",FDr="Basic_ba_int.of_sub_array",LDr="Basic_ba_int.get",zDr="Basic_utf8_decode.from_sub_string",WDr="Basic_utf8_decode.MalFormed",qDr=_c,HDr="Basic_vec_int.get",$Dr="Basic_vec_int.get_and_delete_range",VDr=ij,BDr=[0,0,0],GDr="Basic_lst.last",JDr="Basic_lst.fold_right2",YDr=PK0,KDr=PK0,QDr=qF0,ZDr=qF0,hDr="Basic_lst.split_at_last_aux",gDr="Basic_lst.find_exn",dDr="Basic_lst.iter2",jDr=[0,"lib/basic/basic_lst.ml",841,15],rUr="Basic_lst.fold_left2",eUr="Basic_lst.split_at_last",nUr=ij,tUr="index out of range",uUr=ij,xUr=ij,sUr="Basic_vec.make",iUr=_c,fUr="Basic_vec.set",oUr="Basic_vec.set_last",aUr="Basic_vec.last",vUr=_c,cUr="Basic_vec.get",lUr="Basic_utf8.string_of_vec",pUr=Vj,mUr=w5(10,0,0),yUr=Vj,kUr=w5(0,0,0),_Ur=w5(1,0,0),bUr=wF0,wUr=[0,[7,12,0,0,0],dH0],PUr=Vj,TUr=Vj,CUr=wF0,XUr=[0,[5,12,0,0,0],HQ0],RUr=[0,[11,DF0,[4,8,[0,2,4],0,0]],"U+%04X"],SUr=[0,zq,V5,13],AUr=[0,zq,Cv,13],IUr=[0,zq,64,9],EUr=[0,zq,60,7],DUr=[0,zq,73,9],UUr=[0,zq,69,7],OUr=[0,rz0,95,8],MUr=[0,rz0,pk,8],NUr="Basic_diet.Make.singleton",FUr="Basic_uchar_set.succ",LUr="Basic_uchar_set.pred",zUr="Basic_map_gen.remove_min_binding",WUr="MINTF230520",qUr=B0,HUr=j70,$Ur="///|",VUr=D1,BUr=D1,GUr=D1,JUr=B0,YUr=[0,"Constr_tag_regular"],KUr=[0,"Extensible_tag"],QUr="Basic_iter.ExitHead",ZUr="Basic_hashf.Make(Key).Key_not_found",hUr=yX,gUr=MX,dUr=ZD,jUr=hN,rOr=lU,eOr=mF,nOr=$N,tOr=pF,uOr=CF,xOr=_F,sOr=EF,iOr=TF,fOr=d_,oOr=kF,aOr=Ij,vOr=Ij,cOr=G90,lOr=l60,pOr=ZN,mOr=BQ0,yOr=wX,kOr=RW,_Or=_H0,bOr=oq0,wOr=D1,POr=z6,TOr=B0,COr=D1,XOr=z6,ROr=B0,SOr=D1,AOr=Cm0,IOr=D1,EOr=HJ0,DOr=D1,UOr=VN,OOr=B0,MOr=Bc,NOr=[0,fY,0],FOr=Bc,LOr=VN,zOr=B0,WOr=[0,fY,0],qOr=Bc,HOr=D1,$Or=VN,VOr=B0,BOr=[0,P4,0],GOr=P4,JOr=Bc,YOr=B0,KOr="moonbitlang/core/unit",QOr="moonbitlang/core/bool",ZOr="moonbitlang/core/byte",hOr="moonbitlang/core/char",gOr="moonbitlang/core/int",dOr="moonbitlang/core/int16",jOr="moonbitlang/core/int64",rMr="moonbitlang/core/uint",eMr="moonbitlang/core/uint16",nMr="moonbitlang/core/uint64",tMr="moonbitlang/core/float",uMr="moonbitlang/core/double",xMr=DH0,sMr="moonbitlang/core/option",iMr=t$0,fMr=t$0,oMr=fy0,aMr=fy0,vMr=QF0,cMr="moonbitlang/core/ref",lMr=QF0,pMr=DH0,mMr=fy0,yMr=PY,kMr="moonbitlang/core/tuple",_Mr="moonbitlang/core/error",bMr=yX,wMr=MX,PMr=ZD,TMr=hN,CMr=lU,XMr=mF,RMr=$N,SMr=pF,AMr=CF,IMr=_F,EMr=EF,DMr=TF,UMr=d_,OMr=kF,MMr=Ij,NMr=Ij,FMr=G90,LMr=l60,zMr=ZN,WMr=BQ0,qMr=wX,HMr=RW,$Mr=_H0,VMr=oq0,BMr=Cm0,GMr=[2,2],JMr=[2,3],YMr=[2,4],KMr=[2,5],QMr=[2,6],ZMr="SourceLoc",hMr="ArgsLoc",gMr=GJ,dMr=cW0,jMr=$z0,rNr=ip0,eNr=aK,nNr="Iter",tNr="Iter2",uNr="Iterator",xNr="Iterator2",sNr=[0,"moonbitlang/core/bigint","BigInt"],iNr="FuncRef",fNr=e90,oNr="Compare",aNr="Hash",vNr="Show",cNr=HJ,lNr=VF0,pNr=KQ0,mNr=m70,yNr=Pq0,kNr=QK0,_Nr=mq0,bNr=Qh0,wNr=kO0,PNr=fg0,TNr="BitAnd",CNr="BitOr",XNr="BitXOr",RNr=B0,SNr=B0,ANr=B0,INr=o80,ENr=[0,[4,8,[0,2,2],0,0],"%02X"],DNr=D1,UNr=z6,ONr=B0,MNr=Bc,NNr=Bc,FNr=HJ0,LNr=D1,zNr=VN,WNr=B0,qNr=Bc,HNr=[0,fY,0],$Nr=Bc,VNr=B0,BNr=[0,fY,0],GNr=Bc,JNr=D1,YNr=VN,KNr=B0,QNr=[0,P4,0],ZNr=P4,hNr=Bc,gNr=B0,dNr=m4,jNr=[0,P4,0],rFr=P4,eFr=Bc,nFr=B0,tFr=D1,uFr=z6,xFr="Basic_hash_string.Key_not_found",sFr="Basic_hash_int.Key_not_found",iFr=B0,fFr=[0,[4,0,0,0,0],Zq],oFr=[0,[4,0,[0,2,9],0,0],"%09d"],aFr=ql,vFr=ho,cFr="empty string",lFr=w5(10,0,0),pFr=w5(16,0,0),mFr=w5(8,0,0),yFr=w5(2,0,0),kFr=w5(10,0,0),_Fr=w5(16,0,0),bFr=w5(16,0,0),wFr=w5(2,0,0),PFr=w5(8,0,0),TFr=w5(10,0,0),CFr=w5(16,0,0),XFr="invalid character",RFr=[0,$T,hT,ZT,UT,lb,fC,MT,LT,tC,QT,nC,rb,DT,YT,JT,qT,jT,uC,Er],SFr=m4,AFr=Gv,IFr=ho,EFr=Gv,DFr=B0,UFr=Gv,OFr=ho,MFr=Gv,NFr=Gv,FFr=B0,LFr=Gv,zFr=Gv,WFr=B0,qFr=[0,"lib/xml/computil/loc.ml",O5,2],HFr=Gv,$Fr=ho,VFr=Gv,BFr=B0,GFr=[0,"no_base_pos"],JFr=":1",YFr=B0,KFr=B0,QFr=l3,ZFr="Unexpected token '",hFr="Ill-formed list of alerts: ",gFr="unexpected end",dFr=X60,jFr=l3,rLr="invalid alert mnemonic '",eLr=l3,nLr="unknown warning mnemonic '",tLr="' in warning mnemonic",uLr="invalid character '",xLr=" is smaller than ",sLr=l3,iLr="unexpected token '",fLr="Ill-formed list of warnings: ",oLr=B0,aLr="succeed",vLr="failed",cLr=FY,lLr="Error Warning (alert_",pLr=FY,mLr="Error Warning (",yLr=FY,kLr="Warning (alert_",_Lr=FY,bLr="Warning (",wLr="Unused trait implementation",PLr="Unused pattern",TLr="Unreachable code",CLr="There is no [continue] in this loop expression, so [loop] is useless here.",XLr="Ambiguous block expression. Use `id` directly, or use `{ id, }` to clarify a struct literal.",RLr="The body of this try expression never raises any error.",SLr="The error type of this function is never used.",ALr="The patterns are complete so the usage of `catch!` is useless. Use `catch` instead.",ILr="Using constructor as function directly is deprecated. Use the partial application syntax instead.",ELr="Calling local `impl` with `.` or `Type::meth(..)` is deprecated, use `Trait::meth(..)` instead.",DLr="Using a multiline string directly, except in `let` bindings, FFI, or parentheses, is deprecated. Consider using `let x = #| ...` or wrapping it in `()`.",ULr="unfinished code",OLr="The package alias is empty. The default package alias will be used instead.",MLr="Map patterns are always open, so `..` should be added to this pattern.",NLr="This `..` is useless, all fields are already matched",FLr="This trait bound is unused.",LLr="FFI parameter of pointer type should be annotated with either `#borrow` or `#owned`, the default calling convention is currently `#owned` and it will be changed in the future.",zLr="The non-capturing group (?:...) is unnecessary; you can use a regular capturing group (...) instead.",WLr="The spread '..s' has no effect: all fields are explicitly overwritten.",qLr="This expression is inferred to be Array[T]. Consider explicitly annotating with ReadOnlyArray[T] for better performance and smaller bundle size if the array is not mutated.",HLr=l3,$Lr="Unused function '",VLr="'. Note if the body contains side effect, it will not happen. Use `fn init { .. }` to wrap the effect.",BLr="Unused toplevel variable '",GLr=l3,JLr="Unused variable '",YLr=l3,KLr="Unused type '",QLr=[0,"' does not occur in public signature of current package, consider marking it as `priv`.",0],ZLr=" '",hLr=UI,gLr=B0,dLr=l3,jLr="Unused generic type variable '",rzr="' is unused",ezr=xk0,nzr="' is never constructed",tzr=xk0,uzr=oB0,xzr=xk0,szr=oB0,izr=Y90,fzr=HF0,ozr="1st",azr="2nd",vzr="3rd",czr=[0,by0,0],lzr=" positional argument of constructor '",pzr=UI,mzr=B0,yzr=[0,"' is never read.",0],kzr=lN,_zr=Y90,bzr=B0,wzr=[0,by0,0],Pzr=lN,Tzr=Y90,Czr=B0,Xzr=[0," by default",0],Rzr=" is ",Szr=" modifier is redundant here since field ",Azr=UI,Izr=B0,Ezr=" is never constructed",Dzr="The struct ",Uzr=ll,Ozr=" \n note: You can use a guard statement with an `is` expression if the missing cases are not expected to happen.",Mzr=z90,Nzr=`
96
- note: the compiler won't take guard conditions into account.`,Fzr=z90,Lzr=z90,zzr=", which contains unresolved type variables. The type variable is default to Unit.",Wzr="The type of this expression is ",qzr=" is never used, try remove `mut`.",Hzr="The mutability of ",$zr=[0,bu,0],Vzr=", handrolled parser ",Bzr=" (menhir parser ",Gzr="' ",Jzr="parser consistency check failed at '",Yzr=B0,Kzr=[0,"' before entering the loop, please bind it to a new binder outside the loop.",0],Qzr="` to bind it in the pattern. If it refers to the original value of '",Zzr="' is ambiguous. If it refers to the loop variable, please use `as ",hzr="The usage of '",gzr=B0,dzr=p2,jzr=[0,' are omitted (To ignore them, add ".." to the end of argument list).',0],rWr=" of constructor ",eWr=$O0,nWr=B0,tWr=gd,uWr=" Use ",xWr=B0,sWr=$K0,iWr=mX,fWr="The syntax ",oWr=B0,aWr="Ignoring value of `..` chain with `x..f().g()` is deprecated, you can now write `x..f()..g()` directly.",vWr="Using `x..f()` directly as value is deprecated, the last `..f()` in a chain will automatically drop its value in the future. Write `{ x..f(); x }` instead.",cWr=[0,D1,0],lWr="` for declaring ",pWr="Invalid visibility `",mWr=B0,yWr=l3,kWr="Unused package alias '",_Wr=l3,bWr="Unused package '",wWr="' is never supplied.",PWr="The optional argument '",TWr=by0,CWr="Default value of optional argument '",XWr="Consider mark `///|` above the the top-level structures to splitting it into multiple segments.",RWr=pJ0,SWr="Consider add line breaks to reduce the length of this line.",AWr="column",IWr=" limit. ",EWr="Text segment is about to exceed the ",DWr=B0,UWr="` is reserved for possible future use. Please consider using another name.",OWr="The word `",MWr="` shadows a label name that is already in scope.",NWr=AM0,FWr="` is never used.",LWr=AM0,zWr="' is duplicated.",WWr=aH0,qWr="' is not supported in this context.",HWr=aH0,$Wr="The attribute is unused ",VWr="' because it does not exist in mbti file.",BWr="Unused pub definition '",GWr=" defined at ",JWr="This local method shadows upstream ",YWr=B0,KWr=[0,"` are ambiguous, add parenthesis to disambiguate.",0],QWr="` and `",ZWr="Operator `",hWr=B0,gWr="' is never updated.",dWr="The loop variable '",jWr=Jv,rqr=". Please add them to the pattern or use `..` to ignore them.",eqr="The struct pattern is missing the field(s) ",nqr=[0,"' are omitted in the pattern.",0],tqr=" of the constructor '",uqr=B0,xqr="(_)` before it.",sqr="This pattern tries to access an unaligned byte. Please consider adding a padding `u",iqr=[0,D1,0],fqr='" should be unique, but it is already used at ',oqr='Allowing repeated test names is deprecated. Test name "',aqr=B0,vqr="`, which is not `Unit`. The result value will be discarded by `..`",cqr="This method returns value of type `",lqr="' is only read, not mutated. Consider using ReadOnlyArray[T] for better performance and smaller code size.",pqr=CN0,mqr="' does not need dynamic resizing. Consider using FixedArray[T] for better performance.",yqr=CN0,kqr=[0,"Unused_impl"],_qr=[0,"Unused_pat"],bqr=[0,"Unreachable"],wqr=[0,"Useless_loop"],Pqr=[0,"Ambiguous_block"],Tqr=[0,"Useless_try"],Cqr=[0,"Useless_error_type"],Xqr=[0,"Useless_catch_all"],Rqr=[0,"Constr_as_function"],Sqr=[0,"Call_local_impl_with_dot"],Aqr=[0,"Deprecated_multiline_string_usage"],Iqr=[0,G40],Eqr=[0,"Empty_package_alias"],Dqr=[0,"Closed_map_pattern"],Uqr=[0,"Useless_dotdot"],Oqr=[0,"Unused_trait_bound"],Mqr=[0,"Unannotated_ffi_param"],Nqr=[0,"Regex_unnecessary_noncapturing"],Fqr=[0,"Unused_struct_update"],Lqr=[0,"Unannotated_toplevel_array"],zqr=[0,"Unused_func"],Wqr=[0,"is_impure_toplevel"],qqr=[0,md],Hqr=[0,"Unused_var"],$qr=[0,"Unused_type_declaration"],Vqr=[0,W5],Bqr=[0,fy],Gqr=[0,"Unused_abstract_type"],Jqr=[0,"Unused_tvar"],Yqr=[0,W5],Kqr=[0,Tw],Qqr=[0,"Unused_constructor"],Zqr=[0,"Unused_field"],hqr=[0,qX],gqr=[0,Tw],dqr=[0,"Unused_constr_arg"],jqr=[0,"is_mutated"],rHr=[0,n5],eHr=[0,Tw],nHr=[0,"Unused_constr_field"],tHr=[0,XU],uHr=[0,"modifier"],xHr=[0,"Redundant_modifier"],sHr=[0,"Struct_never_constructed"],iHr=[0,"has_guard"],fHr=[0,"is_let_match"],oHr=[0,"hint_cases"],aHr=[0,"Partial_match"],vHr=[0,"Unresolved_tvar"],cHr=[0,jI],lHr=[0,Sm0],pHr=[0,"Alert"],mHr=[0,"Unused_mutability"],yHr=[0,"is_handrolled_succeed"],kHr=[0,"is_menhir_succeed"],_Hr=[0,"segment"],bHr=[0,"file_name"],wHr=[0,"Parser_inconsistency"],PHr=[0,"Ambiguous_usage_of_loop_argument"],THr=[0,jI],CHr=[0,"Deprecated"],XHr=[0,"labels"],RHr=[0,Tw],SHr=[0,"Omitted_constr_argument"],AHr=[0,"Test_unqualified_package"],IHr=[0,"new_usage"],EHr=[0,"purpose"],DHr=[0,"old_usage"],UHr=[0,"Deprecated_syntax"],OHr=[0,"ends_with_unit_dot"],MHr=[0,"First_class_use_of_dotdot"],NHr=[0,W5],FHr=[0,ET],LHr=[0,"Invalid_visibility"],zHr=[0,"is_alias"],WHr=[0,fy],qHr=[0,"Unused_package"],HHr=[0,"Optional_arg_never_supplied"],$Hr=[0,"Optional_arg_always_supplied"],VHr=[0,"line_excceed"],BHr=[0,"Text_segment_excceed"],GHr=[0,"Reserved_keyword"],JHr=[0,"Loop_label_shadow"],YHr=[0,"Loop_label_unused"],KHr=[0,"Invalid_attribute"],QHr=[0,W5],ZHr=[0,"attribute"],hHr=[0,"Unused_attribute"],gHr=[0,"Invalid_inline_wasm"],dHr=[0,"Unused_pub"],jHr=[0,W5],r$r=[0,q],e$r=[0,"Local_method_shadow_upstream"],n$r=[0,"op2"],t$r=[0,"op1"],u$r=[0,"Ambiguous_operator"],x$r=[0,"Loop_variable_not_updated"],s$r=[0,"Missing_field_in_struct_pattern"],i$r=[0,W5],f$r=[0,Tw],o$r=[0,"Constr_pattern_expect_payload"],a$r=[0,"Unaligned_byte_access"],v$r=[0,fy],c$r=[0,"previous_loc"],l$r=[0,"Duplicate_test_name"],p$r=[0,Wu],m$r=[0,"Cascade_return_type_non_unit"],y$r=[0,"Syntax_lint_warning"],k$r=[0,md],_$r=[0,"Array_literal_used_readonly"],b$r=[0,md],w$r=[0,"Array_literal_used_readwrite"],P$r=[0,"Duplicated"],T$r=[0,"Unsupported"],C$r=[0,"Unused"],X$r=[0,"No_construct"],R$r=[0,"No_read"],S$r="+a-31-32@11@15@44-25-65-66-alert_unsafe",A$r=dF([[0,15,"unused_mut","Unused mutability."],[0,16,"parser_inconsistency","Parser inconsistency check."],[0,17,"ambiguous_loop_argument","Ambiguous usage of loop argument."],[0,18,"useless_loop","Useless loop expression."],[0,19,"toplevel_not_left_aligned","Top_level declaration is not left aligned."],[0,20,_p,"Deprecated API usage."],[0,21,"missing_pattern_arguments","Some arguments of constructor are omitted in pattern."],[0,22,"ambiguous_block","Ambiguous block."],[0,23,"unused_try","Useless try expression."],[0,24,"unused_error_type","Useless error type."],[0,25,"test_unqualified_package","Using implicitly imported API in test."],[0,26,"unused_catch_all","Useless catch all."],[0,27,"deprecated_syntax","Deprecated syntax."],[0,28,"todo",G40],[0,29,"unused_package","Unused package."],[0,30,"missing_package_alias","Empty package alias."],[0,31,"unused_optional_argument","Optional argument never supplied."],[0,32,"unused_default_value","Default value of optional argument never used."],[0,33,"text_segment_excceed","Text segment exceed the line or column limits."],[0,35,"reserved_keyword","Reserved keyword."],[0,36,"loop_label_shadowing","Loop label shadows another label."],[0,37,"unused_loop_label","Unused loop label."],[0,41,"missing_rest_mark","Missing `..` in map pattern."],[0,42,"invalid_attribute","Invalid attribute."],[0,43,"unused_attribute","Unused attribute."],[0,44,"invalid_inline_wasm","Invalid inline-wasm."],[0,46,"unused_rest_mark","Useless `..` in pattern"],[0,47,"invalid_mbti","Invalid mbti file"],[0,48,"missing_default_impl_mark","Trait method with default implementation not marked with `= _`"],[0,49,"missing_definition","Unused pub definition because it does not exist in mbti file."],[0,50,"method_shadowing","Local method shadows upstream method"],[0,51,"ambiguous_precedence","Ambiguous operator precedence"],[0,52,"unused_loop_variable","Loop variable not updated in loop"],[0,53,"unused_trait_bound","Unused trait bound"],[0,55,"unannotated_ffi","Unannotated FFI param type"],[0,56,"missing_pattern_field","Missing field in struct pattern"],[0,57,"missing_pattern_payload","Constructor pattern expect payload"],[0,58,"unused_non_capturing","Unnecessary non-capturing group in regex"],[0,59,"unaligned_byte_access","Unaligned byte access in bits pattern"],[0,60,"unused_struct_update","Unused struct update"],[0,61,"duplicate_test","Duplicate test name"],[0,62,"invalid_cascade","Calling method with non-unit return type via `..`"],[0,63,"syntax_lint","Syntax lint warning"],[0,64,"unannotated_toplevel_array","Unannotated toplevel array"],[0,65,"prefer_readonly_array","Suggest ReadOnlyArray for read-only array literal"],[0,66,"prefer_fixed_array","Suggest FixedArray for mutated array literal"]]),I$r="All alerts or alerts with specific category.",E$r="alert or alert_<category>",D$r=[0,13,"unresolved_type_variable","Unresolved type variable."],U$r=[0,12,"unreachable_code","Unreachable code."],O$r=[0,11,"partial_match","Partial pattern matching."],M$r=[0,10,"unused_pattern","Unused pattern."],N$r=[0,9,"struct_never_constructed","Struct never constructed."],F$r=[0,8,"redundant_modifier","Redundant modifier."],L$r=[0,7,"unused_field","Unused field or constructor argument."],z$r=[0,6,"unused_constructor","Unused constructor."],W$r=[0,5,"unused_type_variable","Unused type variable."],q$r=[0,4,"missing_priv","Unused abstract type."],H$r=[0,3,"unused_type_declaration","Unused type declaration."],$$r=[0,2,Sq0,"Unused variable."],V$r=[0,1,Sq0,"Unused variable or function."],B$r="42fc098f3",G$r="v0.6.35",J$r=B0,Y$r=Rl,K$r=rc,Q$r=kr0,Z$r=B0,h$r=Gv,g$r=ho,d$r=Gv,j$r=B0,rVr=[0,Ce],eVr=[0,LI],nVr=[0,"_end"],tVr=[0,SN],uVr="E",xVr=[0,bd],sVr=[0,W5],iVr=[0,q],fVr=[0,bd],oVr=[0,xN0],aVr=[0,jI],vVr=[0,q],cVr=[0,[2,0,[11," [",[2,0,[11,"] ",[2,0,[12,10,0]]]]]],`%s [%s] %s
96
+ note: the compiler won't take guard conditions into account.`,Fzr=z90,Lzr=z90,zzr=", which contains unresolved type variables. The type variable is default to Unit.",Wzr="The type of this expression is ",qzr=" is never used, try remove `mut`.",Hzr="The mutability of ",$zr=[0,bu,0],Vzr=", handrolled parser ",Bzr=" (menhir parser ",Gzr="' ",Jzr="parser consistency check failed at '",Yzr=B0,Kzr=[0,"' before entering the loop, please bind it to a new binder outside the loop.",0],Qzr="` to bind it in the pattern. If it refers to the original value of '",Zzr="' is ambiguous. If it refers to the loop variable, please use `as ",hzr="The usage of '",gzr=B0,dzr=p2,jzr=[0,' are omitted (To ignore them, add ".." to the end of argument list).',0],rWr=" of constructor ",eWr=$O0,nWr=B0,tWr=gd,uWr=" Use ",xWr=B0,sWr=$K0,iWr=mX,fWr="The syntax ",oWr=B0,aWr="Ignoring value of `..` chain with `x..f().g()` is deprecated, you can now write `x..f()..g()` directly.",vWr="Using `x..f()` directly as value is deprecated, the last `..f()` in a chain will automatically drop its value in the future. Write `{ x..f(); x }` instead.",cWr=[0,D1,0],lWr="` for declaring ",pWr="Invalid visibility `",mWr=B0,yWr=l3,kWr="Unused package alias '",_Wr=l3,bWr="Unused package '",wWr="' is never supplied.",PWr="The optional argument '",TWr=by0,CWr="Default value of optional argument '",XWr="Consider mark `///|` above the the top-level structures to splitting it into multiple segments.",RWr=pJ0,SWr="Consider add line breaks to reduce the length of this line.",AWr="column",IWr=" limit. ",EWr="Text segment is about to exceed the ",DWr=B0,UWr="` is reserved for possible future use. Please consider using another name.",OWr="The word `",MWr="` shadows a label name that is already in scope.",NWr=AM0,FWr="` is never used.",LWr=AM0,zWr="' is duplicated.",WWr=aH0,qWr="' is not supported in this context.",HWr=aH0,$Wr="The attribute is unused ",VWr="' because it does not exist in mbti file.",BWr="Unused pub definition '",GWr=" defined at ",JWr="This local method shadows upstream ",YWr=B0,KWr=[0,"` are ambiguous, add parenthesis to disambiguate.",0],QWr="` and `",ZWr="Operator `",hWr=B0,gWr="' is never updated.",dWr="The loop variable '",jWr=Jv,rqr=". Please add them to the pattern or use `..` to ignore them.",eqr="The struct pattern is missing the field(s) ",nqr=[0,"' are omitted in the pattern.",0],tqr=" of the constructor '",uqr=B0,xqr="(_)` before it.",sqr="This pattern tries to access an unaligned byte. Please consider adding a padding `u",iqr=[0,D1,0],fqr='" should be unique, but it is already used at ',oqr='Allowing repeated test names is deprecated. Test name "',aqr=B0,vqr="`, which is not `Unit`. The result value will be discarded by `..`",cqr="This method returns value of type `",lqr="' is only read, not mutated. Consider using ReadOnlyArray[T] for better performance and smaller code size.",pqr=CN0,mqr="' does not need dynamic resizing. Consider using FixedArray[T] for better performance.",yqr=CN0,kqr=[0,"Unused_impl"],_qr=[0,"Unused_pat"],bqr=[0,"Unreachable"],wqr=[0,"Useless_loop"],Pqr=[0,"Ambiguous_block"],Tqr=[0,"Useless_try"],Cqr=[0,"Useless_error_type"],Xqr=[0,"Useless_catch_all"],Rqr=[0,"Constr_as_function"],Sqr=[0,"Call_local_impl_with_dot"],Aqr=[0,"Deprecated_multiline_string_usage"],Iqr=[0,G40],Eqr=[0,"Empty_package_alias"],Dqr=[0,"Closed_map_pattern"],Uqr=[0,"Useless_dotdot"],Oqr=[0,"Unused_trait_bound"],Mqr=[0,"Unannotated_ffi_param"],Nqr=[0,"Regex_unnecessary_noncapturing"],Fqr=[0,"Unused_struct_update"],Lqr=[0,"Unannotated_toplevel_array"],zqr=[0,"Unused_func"],Wqr=[0,"is_impure_toplevel"],qqr=[0,md],Hqr=[0,"Unused_var"],$qr=[0,"Unused_type_declaration"],Vqr=[0,W5],Bqr=[0,fy],Gqr=[0,"Unused_abstract_type"],Jqr=[0,"Unused_tvar"],Yqr=[0,W5],Kqr=[0,Tw],Qqr=[0,"Unused_constructor"],Zqr=[0,"Unused_field"],hqr=[0,qX],gqr=[0,Tw],dqr=[0,"Unused_constr_arg"],jqr=[0,"is_mutated"],rHr=[0,n5],eHr=[0,Tw],nHr=[0,"Unused_constr_field"],tHr=[0,XU],uHr=[0,"modifier"],xHr=[0,"Redundant_modifier"],sHr=[0,"Struct_never_constructed"],iHr=[0,"has_guard"],fHr=[0,"is_let_match"],oHr=[0,"hint_cases"],aHr=[0,"Partial_match"],vHr=[0,"Unresolved_tvar"],cHr=[0,jI],lHr=[0,Sm0],pHr=[0,"Alert"],mHr=[0,"Unused_mutability"],yHr=[0,"is_handrolled_succeed"],kHr=[0,"is_menhir_succeed"],_Hr=[0,"segment"],bHr=[0,"file_name"],wHr=[0,"Parser_inconsistency"],PHr=[0,"Ambiguous_usage_of_loop_argument"],THr=[0,jI],CHr=[0,"Deprecated"],XHr=[0,"labels"],RHr=[0,Tw],SHr=[0,"Omitted_constr_argument"],AHr=[0,"Test_unqualified_package"],IHr=[0,"new_usage"],EHr=[0,"purpose"],DHr=[0,"old_usage"],UHr=[0,"Deprecated_syntax"],OHr=[0,"ends_with_unit_dot"],MHr=[0,"First_class_use_of_dotdot"],NHr=[0,W5],FHr=[0,ET],LHr=[0,"Invalid_visibility"],zHr=[0,"is_alias"],WHr=[0,fy],qHr=[0,"Unused_package"],HHr=[0,"Optional_arg_never_supplied"],$Hr=[0,"Optional_arg_always_supplied"],VHr=[0,"line_excceed"],BHr=[0,"Text_segment_excceed"],GHr=[0,"Reserved_keyword"],JHr=[0,"Loop_label_shadow"],YHr=[0,"Loop_label_unused"],KHr=[0,"Invalid_attribute"],QHr=[0,W5],ZHr=[0,"attribute"],hHr=[0,"Unused_attribute"],gHr=[0,"Invalid_inline_wasm"],dHr=[0,"Unused_pub"],jHr=[0,W5],r$r=[0,q],e$r=[0,"Local_method_shadow_upstream"],n$r=[0,"op2"],t$r=[0,"op1"],u$r=[0,"Ambiguous_operator"],x$r=[0,"Loop_variable_not_updated"],s$r=[0,"Missing_field_in_struct_pattern"],i$r=[0,W5],f$r=[0,Tw],o$r=[0,"Constr_pattern_expect_payload"],a$r=[0,"Unaligned_byte_access"],v$r=[0,fy],c$r=[0,"previous_loc"],l$r=[0,"Duplicate_test_name"],p$r=[0,Wu],m$r=[0,"Cascade_return_type_non_unit"],y$r=[0,"Syntax_lint_warning"],k$r=[0,md],_$r=[0,"Array_literal_used_readonly"],b$r=[0,md],w$r=[0,"Array_literal_used_readwrite"],P$r=[0,"Duplicated"],T$r=[0,"Unsupported"],C$r=[0,"Unused"],X$r=[0,"No_construct"],R$r=[0,"No_read"],S$r="+a-31-32@11@15@44-25-65-66-alert_unsafe",A$r=dF([[0,15,"unused_mut","Unused mutability."],[0,16,"parser_inconsistency","Parser inconsistency check."],[0,17,"ambiguous_loop_argument","Ambiguous usage of loop argument."],[0,18,"useless_loop","Useless loop expression."],[0,19,"toplevel_not_left_aligned","Top_level declaration is not left aligned."],[0,20,_p,"Deprecated API usage."],[0,21,"missing_pattern_arguments","Some arguments of constructor are omitted in pattern."],[0,22,"ambiguous_block","Ambiguous block."],[0,23,"unused_try","Useless try expression."],[0,24,"unused_error_type","Useless error type."],[0,25,"test_unqualified_package","Using implicitly imported API in test."],[0,26,"unused_catch_all","Useless catch all."],[0,27,"deprecated_syntax","Deprecated syntax."],[0,28,"todo",G40],[0,29,"unused_package","Unused package."],[0,30,"missing_package_alias","Empty package alias."],[0,31,"unused_optional_argument","Optional argument never supplied."],[0,32,"unused_default_value","Default value of optional argument never used."],[0,33,"text_segment_excceed","Text segment exceed the line or column limits."],[0,35,"reserved_keyword","Reserved keyword."],[0,36,"loop_label_shadowing","Loop label shadows another label."],[0,37,"unused_loop_label","Unused loop label."],[0,41,"missing_rest_mark","Missing `..` in map pattern."],[0,42,"invalid_attribute","Invalid attribute."],[0,43,"unused_attribute","Unused attribute."],[0,44,"invalid_inline_wasm","Invalid inline-wasm."],[0,46,"unused_rest_mark","Useless `..` in pattern"],[0,47,"invalid_mbti","Invalid mbti file"],[0,48,"missing_default_impl_mark","Trait method with default implementation not marked with `= _`"],[0,49,"missing_definition","Unused pub definition because it does not exist in mbti file."],[0,50,"method_shadowing","Local method shadows upstream method"],[0,51,"ambiguous_precedence","Ambiguous operator precedence"],[0,52,"unused_loop_variable","Loop variable not updated in loop"],[0,53,"unused_trait_bound","Unused trait bound"],[0,55,"unannotated_ffi","Unannotated FFI param type"],[0,56,"missing_pattern_field","Missing field in struct pattern"],[0,57,"missing_pattern_payload","Constructor pattern expect payload"],[0,58,"unused_non_capturing","Unnecessary non-capturing group in regex"],[0,59,"unaligned_byte_access","Unaligned byte access in bits pattern"],[0,60,"unused_struct_update","Unused struct update"],[0,61,"duplicate_test","Duplicate test name"],[0,62,"invalid_cascade","Calling method with non-unit return type via `..`"],[0,63,"syntax_lint","Syntax lint warning"],[0,64,"unannotated_toplevel_array","Unannotated toplevel array"],[0,65,"prefer_readonly_array","Suggest ReadOnlyArray for read-only array literal"],[0,66,"prefer_fixed_array","Suggest FixedArray for mutated array literal"]]),I$r="All alerts or alerts with specific category.",E$r="alert or alert_<category>",D$r=[0,13,"unresolved_type_variable","Unresolved type variable."],U$r=[0,12,"unreachable_code","Unreachable code."],O$r=[0,11,"partial_match","Partial pattern matching."],M$r=[0,10,"unused_pattern","Unused pattern."],N$r=[0,9,"struct_never_constructed","Struct never constructed."],F$r=[0,8,"redundant_modifier","Redundant modifier."],L$r=[0,7,"unused_field","Unused field or constructor argument."],z$r=[0,6,"unused_constructor","Unused constructor."],W$r=[0,5,"unused_type_variable","Unused type variable."],q$r=[0,4,"missing_priv","Unused abstract type."],H$r=[0,3,"unused_type_declaration","Unused type declaration."],$$r=[0,2,Sq0,"Unused variable."],V$r=[0,1,Sq0,"Unused variable or function."],B$r="dd17327ed",G$r="v0.6.35",J$r=B0,Y$r=Rl,K$r=rc,Q$r=kr0,Z$r=B0,h$r=Gv,g$r=ho,d$r=Gv,j$r=B0,rVr=[0,Ce],eVr=[0,LI],nVr=[0,"_end"],tVr=[0,SN],uVr="E",xVr=[0,bd],sVr=[0,W5],iVr=[0,q],fVr=[0,bd],oVr=[0,xN0],aVr=[0,jI],vVr=[0,q],cVr=[0,[2,0,[11," [",[2,0,[11,"] ",[2,0,[12,10,0]]]]]],`%s [%s] %s
97
97
  `],lVr=[0,Q$0,Xo,23],pVr=[0,Q$0,Co,6],mVr=[0,bd],yVr=[0,xN0],kVr=[0,jI],_Vr=[0,q],bVr=[0,bd],wVr=[0,W5],PVr=[0,q],TVr=B0,CVr=[0,"stamp"],XVr=[0,fy],RVr="There are non-test toplevels inside this code block. The block will be skipped.",SVr="There are fatal errors inside this code block. The block will be skipped.",AVr="Cannot use relative path for importing JS module.",IVr=[0,"::` part.",0],EVr="::{ field1: value1, field2: value2 }`. If the type can be inferred, you may omit the `",DVr="`, missing `::` here.\nHint: To construct a record, use the syntax `",UVr="Unexpected `{` after `",OVr=B0,MVr="Using error polymorphism (`raise?`) with `async` is currently not supported. Consider making the async function raising by removing the `raise?` annotation (`async fn` implies `raise` by default).",NVr=[0,"}`.",0],FVr=_c,LVr=CU,zVr="` should be created via `using @",WVr=D1,qVr=" `@",HVr="Alias for the ",$Vr=B0,VVr=`lex pattern should be one of the following forms:
98
98
  - <regex pattern>
99
99
  - <regex pattern>, <end rest>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moonbit/moonbit-lsp",
3
- "version": "0.1.202512153+42fc098f3",
3
+ "version": "0.1.202512163+dd17327ed",
4
4
  "description": "Language server for moonbit language",
5
5
  "main": "./moonbit-lsp",
6
6
  "bin": {