File tree Expand file tree Collapse file tree 4 files changed +21
-3
lines changed
server/src/languages/tolk/types Expand file tree Collapse file tree 4 files changed +21
-3
lines changed Original file line number Diff line number Diff line change 22
33All notable changes to this project will be documented in this file.
44
5+ ## [ 0.1.1] - 07.07.2025
6+
7+ Fix bug with type compatibility, this inspection is disabled by default for now.
8+
59## [ 0.1.0] - 07.07.2025
610
711First stable version
Original file line number Diff line number Diff line change 1212 " BoC" ,
1313 " TL-B"
1414 ],
15- "version" : " 0.1.0 " ,
15+ "version" : " 0.1.1 " ,
1616 "engines" : {
1717 "vscode" : " ^1.63.0"
1818 },
399399 " cannot-reassign"
400400 ]
401401 },
402- "default" : [],
402+ "default" : [
403+ " type-compatibility"
404+ ],
403405 "description" : " List of disabled code inspections. All inspections are enabled by default."
404406 }
405407 }
Original file line number Diff line number Diff line change 11{
22 "name" : " ton-language-server" ,
3- "version" : " 0.1.0 " ,
3+ "version" : " 0.1.1 " ,
44 "description" : " Language Server for the TON Blockchain" ,
55 "main" : " server.js" ,
66 "keywords" : [
Original file line number Diff line number Diff line change @@ -624,6 +624,18 @@ export class BoolTy extends NonNamedTy {
624624 return BoolTy . TRUE
625625 }
626626
627+ public override equals ( other : Ty ) : boolean {
628+ if ( other instanceof BoolTy ) {
629+ return this . value === other . value
630+ }
631+ return false
632+ }
633+
634+ public override canRhsBeAssigned ( other : Ty ) : boolean {
635+ if ( other instanceof BoolTy ) return true
636+ return super . canRhsBeAssigned ( other )
637+ }
638+
627639 public static BOOL : BoolTy = new BoolTy ( undefined )
628640 public static TRUE : BoolTy = new BoolTy ( true )
629641 public static FALSE : BoolTy = new BoolTy ( false )
You can’t perform that action at this time.
0 commit comments