Skip to content

Commit 3f9aaaa

Browse files
committed
fix: fix foo!!.bar parsing and handling, don't warn about unused inspections for stdlib.tact, don't warn about generic placeholders for now
1 parent 2e8d979 commit 3f9aaaa

File tree

17 files changed

+88
-101
lines changed

17 files changed

+88
-101
lines changed

src/main/gen/org/tonstudio/tact/lang/TactParser.java

Lines changed: 24 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main/gen/org/tonstudio/tact/lang/TactTypes.java

Lines changed: 7 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main/gen/org/tonstudio/tact/lang/psi/TactAssertNotNullExpression.java

Lines changed: 0 additions & 13 deletions
This file was deleted.

src/main/gen/org/tonstudio/tact/lang/psi/TactCallExpr.java

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main/gen/org/tonstudio/tact/lang/psi/TactDotExpression.java

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main/gen/org/tonstudio/tact/lang/psi/TactVisitor.java

Lines changed: 6 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main/gen/org/tonstudio/tact/lang/psi/impl/TactAssertNotNullExpressionImpl.java

Lines changed: 0 additions & 35 deletions
This file was deleted.

src/main/gen/org/tonstudio/tact/lang/psi/impl/TactCallExprImpl.java

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main/gen/org/tonstudio/tact/lang/psi/impl/TactDotExpressionImpl.java

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main/kotlin/org/tonstudio/tact/ide/inspections/TactUnresolvedReferenceInspection.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ class TactUnresolvedReferenceInspection : TactBaseInspection() {
2222
super.visitTypeReferenceExpression(o)
2323

2424
if (o.parent is TactTlb) return
25+
val text = o.text
26+
if (text == "T" || text == "S" || text == "M" || text == "K" || text == "V") return // special placeholders until generics
2527

2628
val reference = o.reference
2729
val qualifier = o.getQualifier()

0 commit comments

Comments
 (0)