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 6c35bbf commit 3539e55Copy full SHA for 3539e55
swift/ql/test/library-tests/elements/decl/enumdecl/enumdecl.ql
@@ -1,11 +1,11 @@
1
import swift
2
3
string describe(Decl d) {
4
- (d instanceof EnumDecl and result = "(EnumDecl)")
+ d instanceof EnumDecl and result = "(EnumDecl)"
5
or
6
- (d instanceof EnumCaseDecl and result = "(EnumCaseDecl)")
+ d instanceof EnumCaseDecl and result = "(EnumCaseDecl)"
7
8
- (d instanceof EnumElementDecl and result = "(EnumElementDecl)")
+ d instanceof EnumElementDecl and result = "(EnumElementDecl)"
9
10
result = ".getType = " + d.(EnumDecl).getType().toString()
11
0 commit comments