Skip to content

Commit 137a22a

Browse files
committed
fix: always annotate self as keyword
1 parent 30c90f5 commit 137a22a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/kotlin/org/tonstudio/tact/lang/annotator/TactAnnotator.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ class TactAnnotator : Annotator {
2626

2727
if (
2828
element.elementType == TactTypes.IDENTIFIER &&
29+
!element.textMatches("self") &&
2930
parent is TactReferenceExpressionBase &&
3031
parent.reference != null
3132
) {

0 commit comments

Comments
 (0)