We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent deea441 commit d573059Copy full SHA for d573059
checkstyle/checks/Check.hx
@@ -106,6 +106,9 @@ class Check {
106
return hasSuppressWarningsMeta (item.meta);
107
}
108
case ETypedef(d):
109
+ if ((pos <= td.pos.max) && (pos >= td.pos.min)) {
110
+ if (hasSuppressWarningsMeta (d.meta)) return true;
111
+ }
112
switch (d.data) {
113
case TAnonymous(fields):
114
for (field in fields) {
test/DynamicCheckTest.hx
@@ -72,7 +72,10 @@ class DynamicTests {
72
typedef Test3a = {
73
var count1:Int;
74
var count2:Dynamic;
75
- }";
76
+
77
+ @SuppressWarnings('checkstyle:Dynamic')
78
+ typedef Test3b = Array<Dynamic>;";
79
80
public static inline var TEST1:String = "
81
class Test {
0 commit comments